Part Number Hot Search : 
NE68700 AG2130 XC68HC11 SB105 EA61FC2 BAW56 030406 102M2
Product Description
Full Text Search
 

To Download CS42526-DQZ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 CS42526 114 dB, 192 kHz 6-Ch Codec with S/PDIF Receiver
Features
Six 24-bit D/A, two 24-bit A/D Converters
114 dB DAC / 114 dB ADC Dynamic Range -100 dB THD+N System Sampling Rates up to 192 kHz S/PDIF Receiver Compatible with EIAJ CP1201 and IEC-60958 Recovered S/PDIF Clock or System Clock Selection 8:2 S/PDIF Input MUX ADC High-pass Filter for DC Offset Calibration Expandable ADC Channels and One-line Mode Support Digital Output Volume Control with Soft Ramp Digital +/-15dB Input Gain Adjust for ADC Differential Analog Architecture Supports logic levels between 5 V and 1.8 V.
General Description
The CS42526 codec provides two analog-to-digital and six digital-to-analog delta-sigma converters, as well as an integrated S/PDIF receiver, in a 64-pin LQFP package. The CS42526 integrated S/PDIF receiver supports up to eight inputs, clock recovery circuitry and format auto-detection. The internal stereo ADC is capable of independent channel gain control for single-ended or differential analog inputs. All six channels of DAC provide digital volume control and differential analog outputs. The general purpose outputs may be driven high or low, or mapped to a variety of DAC mute controls or ADC overflow indicators. The CS42526 is ideal for audio systems requiring wide dynamic range, negligible distortion and low noise, such as A/V receivers, DVD receivers, digital speaker and automotive audio systems.
ORDERING INFORMATION
CS42526-CQZ CS42526-DQZ CDB42528
-10 to 70 C 64-pin LQFP -40 to 85 C 64-pin LQFP Evaluation Board Lead Free Lead Free
TXP RXP0 RXP1/GPO1 RXP2/GPO2 RXP3/GPO3 RXP4/GPO4 RXP5/GPO5 RXP6/GPO6 RXP7/GPO7
VARX
AGND LPFLT
DGND DGND VD
VD
INT C&U Bit Data Buffer Form at Detector Control Port RST AD0/CS AD1/CDIN SDA/CDOUT SCL/CCLK VLC OM CK
Rx
Clock/Data Recovery
S/PDIF Decoder
GPO MUTEC FILT+ VQ REFGND VA AGND AINL+ AINLAINR+ AINRAOUTA1+ AOUTA1AOUTB1+ AOUTB1AOUTA2+ AOUTA2AOUTB2+ AOUTB2AOUTA3+ AOUTA3AOUTB3+ AOUTB3Analog Filter
M UTE Internal M CLK Ref DEM
M ult/Div Serial Audio Interface Port
RM CK SAI_LRCK SAI_SCLK SAI_SDOUT VLS
ADC#1
Digital Filter
Gain & Clip
ADC#2
Digital Filter
Gain & Clip
ADC Serial Data
ADCIN1 ADCIN2 CX_SDOUT CX_LRCK CX_SCLK
DAC#1 DAC#2
Volum e Control
CX_SDIN1
Digital Filter
DAC#3
CODEC Serial Port
CX_SDIN2 CX_SDIN3
DAC#4 DAC#5
DAC#6
Preliminary Product Information
Cirrus Logic, Inc. http://www.cirrus.com
This document contains information for a new product. Cirrus Logic reserves the right to modify this product without notice.
Copyright (c) Cirrus Logic, Inc. 2005 (All Rights Reserved)
JAN `05 DS585PP5
CS42526
TABLE OF CONTENTS
1. CHARACTERISTICS AND SPECIFICATIONS ........................................................................ 7 SPECIFIED OPERATING CONDITIONS ................................................................................. 7 ABSOLUTE MAXIMUM RATINGS ........................................................................................... 7 ANALOG INPUT CHARACTERISTICS .................................................................................... 8 A/D DIGITAL FILTER CHARACTERISTICS............................................................................. 9 ANALOG OUTPUT CHARACTERISTICS .............................................................................. 10 D/A DIGITAL FILTER CHARACTERISTICS........................................................................... 11 SWITCHING CHARACTERISTICS ........................................................................................ 12 SWITCHING CHARACTERISTICS - CONTROL PORT - I2C FORMAT ................................ 13 SWITCHING CHARACTERISTICS - CONTROL PORT - SPITM FORMAT ........................... 14 DC ELECTRICAL CHARACTERISTICS................................................................................. 15 DIGITAL INTERFACE CHARACTERISTICS.......................................................................... 16 2. PIN DESCRIPTIONS .............................................................................................................. 17 3. TYPICAL CONNECTION DIAGRAM ................................................................................ 20 4. APPLICATIONS ...................................................................................................................... 21 4.1 Overview .......................................................................................................................... 21 4.2 Analog Inputs ................................................................................................................... 21 4.2.1 Line Level Inputs ................................................................................................. 21 4.2.2 High Pass Filter and DC Offset Calibration ......................................................... 22 4.3 Analog Outputs ................................................................................................................ 22 4.3.1 Line Level Outputs and Filtering ......................................................................... 22 4.3.2 Interpolation Filter ............................................................................................... 22 4.3.3 Digital Volume and Mute Control ........................................................................ 23 4.3.4 ATAPI Specification ............................................................................................ 23 4.4 S/PDIF Receiver .............................................................................................................. 24 4.4.1 8:2 S/PDIF Input Multiplexer ............................................................................... 24 4.4.2 Error Reporting and Hold Function ..................................................................... 24 4.4.3 Channel Status Data Handling ............................................................................ 24 4.4.4 User Data Handling ............................................................................................. 24 4.4.5 Non-Audio Auto-Detection .................................................................................. 24 4.5 Clock Generation ............................................................................................................. 25 4.5.1 PLL and Jitter Attenuation ................................................................................... 25 4.5.2 OMCK System Clock Mode ................................................................................ 26 4.5.3 Master Mode ....................................................................................................... 26 4.5.4 Slave Mode ......................................................................................................... 26 4.6 Digital Interfaces .............................................................................................................. 27 4.6.1 Serial Audio Interface Signals ............................................................................. 27 4.6.2 Serial Audio Interface Formats ............................................................................ 29 4.6.3 ADCIN1/ADCIN2 Serial Data Format .................................................................. 32 4.6.4 One Line Mode(OLM) Configurations ................................................................. 33 4.6.4a OLM Config #1 ..................................................................................... 33 4.6.4b OLM Config #2 ..................................................................................... 34 4.6.4c OLM Config #3 ..................................................................................... 35 4.6.4d OLM Config #4 ..................................................................................... 36 4.6.4e OLM Config #5 ..................................................................................... 37 4.7 Control Port Description and Timing ................................................................................ 38 4.7.1 SPI Mode ............................................................................................................ 38 4.7.2 I2C Mode ............................................................................................................. 39 4.8 Interrupts .......................................................................................................................... 40 4.9 Reset and Power-up ....................................................................................................... 40 4.10 Power Supply, Grounding, and PCB layout ................................................................... 40
2
DS585PP5
CS42526
5. REGISTER QUICK REFERENCE .......................................................................................... 42 6. REGISTER DESCRIPTION .................................................................................................... 46 6.1 Memory Address Pointer (MAP) ....................................................................................... 46 6.2 Chip I.D. and Revision Register (address 01h) (Read Only) ............................................ 46 6.3 Power Control (address 02h)............................................................................................ 47 6.4 Functional Mode (address 03h)........................................................................................ 48 6.5 Interface Formats (address 04h) ...................................................................................... 49 6.6 Misc Control (address 05h) .............................................................................................. 51 6.7 Clock Control (address 06h) ............................................................................................. 52 6.8 OMCK/PLL_CLK Ratio (address 07h) (Read Only) ......................................................... 54 6.9 RVCR Status (address 08h) (Read Only)......................................................................... 54 6.10 Burst Preamble PC and PD Bytes (addresses 09h - 0Ch)(Read Only).......................... 55 6.11 Volume Transition Control (address 0Dh) ...................................................................... 56 6.12 Channel Mute (address 0Eh).......................................................................................... 58 6.13 Volume Control (addresses 0Fh, 10h, 11h, 12h, 13h, 14h) ........................................ 58 6.14 Channel Invert (address 17h) ......................................................................................... 58 6.15 Mixing Control Pair 1 (Channels A1 & B1)(address 18h) Mixing Control Pair 2 (Channels A2 & B2)(address 19h) Mixing Control Pair 3 (Channels A3 & B3)(address 1Ah) ............................................. 59 6.16 ADC Left Channel Gain (address 1Ch) .......................................................................... 61 6.17 ADC Right Channel Gain (address 1Dh) ........................................................................ 61 6.18 Receiver Mode Control (address 1Eh) ........................................................................... 61 6.19 Receiver Mode Control 2 (address 1Fh) ........................................................................ 62 6.20 Interrupt Status (address 20h) (Read Only) ................................................................... 63 6.21 Interrupt Mask (address 21h) ......................................................................................... 64 6.22 Interrupt Mode MSB (address 22h) Interrupt Mode LSB (address 23h)................................................................................ 64 6.23 Channel Status Data Buffer Control (address 24h) ........................................................ 65 6.24 Receiver Channel Status (address 25h) (Read Only) .................................................... 66 6.25 Receiver Errors (address 26h) (Read Only) ................................................................... 67 6.26 Receiver Errors Mask (address 27h) .............................................................................. 68 6.27 MuteC Pin Control (address 28h) ................................................................................... 68 6.28 RXP/General Purpose Pin Control (addresses 29h to 2Fh) ........................................... 69 6.29 Q-Channel Subcode Bytes 0 to 9 (addresses 30h to 39h) (Read Only)......................... 71 6.30 C-bit or U-bit Data Buffer (addresses 3Ah to 51h) (Read Only) ..................................... 71 7. PARAMETER DEFINITIONS .................................................................................................. 72 8. REFERENCES ........................................................................................................................ 73 9. PACKAGE DIMENSIONS ................................................................................................... 74 THERMAL CHARACTERISTICS ........................................................................................... 74 10. APPENDIX A: EXTERNAL FILTERS ................................................................................... 75 10.1 ADC Input Filter ............................................................................................................. 75 10.2 DAC Output Filter .......................................................................................................... 75 11. APPENDIX B: S/PDIF RECEIVER ....................................................................................... 76 11.1 Error Reporting and Hold Function ................................................................................ 76 11.2 Channel Status Data Handling ...................................................................................... 76 11.2.1 Channel Status Data E Buffer Access .............................................................. 77 11.2.1a One Byte mode .................................................................................. 77 11.2.1b Two Byte mode .................................................................................. 77 11.2.2 Serial Copy Management System (SCMS) ....................................................... 78 11.3 User (U) Data E Buffer Access ...................................................................................... 78 11.3.1 Non-Audio Auto-Detection ................................................................................ 78 11.3.1a Format Detection ............................................................................... 78 12. APPENDIX C: PLL FILTER .................................................................................................. 79
DS585PP5
3
CS42526
12.1 External Filter Components ........................................................................................... 80 12.1.1 General ............................................................................................................. 80 12.1.2 Jitter Attenuation ............................................................................................... 80 12.1.3 Capacitor Selection ........................................................................................... 81 12.1.4 Circuit Board Layout .......................................................................................... 81 13. APPENDIX D: EXTERNAL AES3/SPDIF/IEC60958 RECEIVER COMPONENTS .............. 82 13.1 AES3 Receiver External Components ........................................................................... 82 14. APPENDIX E: ADC FILTER PLOTS .................................................................................... 83 15. APPENDIX F: DAC FILTER PLOTS .................................................................................... 85
LIST OF FIGURES
Figure 1. Serial Audio Port Master Mode Timing .......................................................................... 12 Figure 2. Serial Audio Port Slave Mode Timing ............................................................................ 12 Figure 3. Control Port Timing - I2C Format ................................................................................... 13 Figure 4. Control Port Timing - SPI Format................................................................................... 14 Figure 5. Typical Connection Diagram .......................................................................................... 20 Figure 6. Full-Scale Analog Input .................................................................................................. 21 Figure 7. Full-Scale Output ........................................................................................................... 22 Figure 8. ATAPI Block Diagram (x = channel pair 1, 2, or 3) ........................................................ 23 Figure 9. CS42526 Clock Generation ........................................................................................... 25 Figure 10. I2S Serial Audio Formats.............................................................................................. 29 Figure 11. Left Justified Serial Audio Formats .............................................................................. 30 Figure 12. Right Justified Serial Audio Formats ............................................................................ 30 Figure 13. One Line Mode #1 Serial Audio Format....................................................................... 31 Figure 14. One Line Mode #2 Serial Audio Format....................................................................... 31 Figure 15. ADCIN1/ADCIN2 Serial Audio Format ......................................................................... 32 Figure 16. OLM Configuration #1 .................................................................................................. 33 Figure 17. OLM Configuration #2 .................................................................................................. 34 Figure 18. OLM Configuration #3 .................................................................................................. 35 Figure 19. OLM Configuration #4 .................................................................................................. 36 Figure 20. OLM Configuration #5 .................................................................................................. 37 Figure 21. Control Port Timing in SPI Mode.................................................................................. 38 Figure 22. Control Port Timing, I2C Write...................................................................................... 39 Figure 23. Control Port Timing, I2C Read ..................................................................................... 39 Figure 24. Recommended Analog Input Buffer ............................................................................. 75 Figure 25. Recommended Analog Output Buffer .......................................................................... 75 Figure 26. Channel Status Data Buffer Structure.......................................................................... 77 Figure 27. PLL Block Diagram ...................................................................................................... 79 Figure 28. Jitter Attenuation Characteristics of PLL ...................................................................... 80 Figure 29. Recommended Layout Example .................................................................................. 81 Figure 30. Consumer Input Circuit ................................................................................................ 82 Figure 31. S/PDIF MUX Input Circuit ............................................................................................ 82 Figure 32. TTL/CMOS Input Circuit............................................................................................... 82 Figure 33. Single Speed Mode Stopband Rejection ..................................................................... 83 Figure 34. Single Speed Mode Transition Band............................................................................ 83 Figure 35. Single Speed Mode Transition Band (Detail) ............................................................... 83 Figure 36. Single Speed Mode Passband Ripple.......................................................................... 83 Figure 37. Double Speed Mode Stopband Rejection .................................................................... 83 Figure 38. Double Speed Mode Transition Band .......................................................................... 83 Figure 39. Double Speed Mode Transition Band (Detail).............................................................. 84 Figure 40. Double Speed Mode Passband Ripple ........................................................................ 84 Figure 41. Quad Speed Mode Stopband Rejection....................................................................... 84 Figure 42. Quad Speed Mode Transition Band............................................................................. 84 4 DS585PP5
CS42526
Figure 43. Quad Speed Mode Transition Band (Detail) ................................................................ 84 Figure 44. Quad Speed Mode Passband Ripple........................................................................... 84 Figure 45. Single Speed (fast) Stopband Rejection ...................................................................... 85 Figure 46. Single Speed (fast) Transition Band ............................................................................ 85 Figure 47. Single Speed (fast) Transition Band (detail) ................................................................ 85 Figure 48. Single Speed (fast) Passband Ripple .......................................................................... 85 Figure 49. Single Speed (slow) Stopband Rejection..................................................................... 85 Figure 50. Single Speed (slow) Transition Band........................................................................... 85 Figure 51. Single Speed (slow) Transition Band (detail)............................................................... 86 Figure 52. Single Speed (slow) Passband Ripple......................................................................... 86 Figure 53. Double Speed (fast) Stopband Rejection..................................................................... 86 Figure 54. Double Speed (fast) Transition Band........................................................................... 86 Figure 55. Double Speed (fast) Transition Band (detail)............................................................... 86 Figure 56. Double Speed (fast) Passband Ripple......................................................................... 86 Figure 57. Double Speed (slow) Stopband Rejection ................................................................... 87 Figure 58. Double Speed (slow) Transition Band ......................................................................... 87 Figure 59. Double Speed (slow) Transition Band (detail) ............................................................. 87 Figure 60. Double Speed (slow) Passband Ripple ....................................................................... 87 Figure 61. Quad Speed (fast) Stopband Rejection ....................................................................... 87 Figure 62. Quad Speed (fast) Transition Band ............................................................................. 87 Figure 63. Quad Speed (fast) Transition Band (detail) ................................................................. 88 Figure 64. Quad Speed (fast) Passband Ripple ........................................................................... 88 Figure 65. Quad Speed (slow) Stopband Rejection...................................................................... 88 Figure 66. Quad Speed (slow) Transition Band ............................................................................ 88 Figure 67. Quad Speed (slow) Transition Band (detail) ................................................................ 88 Figure 68. Quad Speed (slow) Passband Ripple .......................................................................... 88
DS585PP5
5
CS42526
LIST OF TABLES
Table 1. Common OMCK Clock Frequencies ............................................................................... 26 Table 2. Common PLL Output Clock Frequencies........................................................................ 26 Table 3. Slave Mode Clock Ratios ................................................................................................ 26 Table 4. Serial Audio Port Channel Allocations............................................................................. 27 Table 5. DAC De-Emphasis .......................................................................................................... 49 Table 6. Receiver De-Emphasis.................................................................................................... 49 Table 7. Digital Interface Formats ................................................................................................. 50 Table 8. ADC One-Line Mode ....................................................................................................... 50 Table 9. DAC One-Line Mode ....................................................................................................... 50 Table 10. RMCK Divider Settings.................................................................................................. 52 Table 11. OMCK Frequency Settings............................................................................................ 53 Table 12. Master Clock Source Select .......................................................................................... 53 Table 13. AES Format Detection................................................................................................... 54 Table 14. Receiver Clock Frequency Detection ............................................................................ 55 Table 15. Example Digital Volume Settings .................................................................................. 58 Table 16. ATAPI Decode............................................................................................................... 60 Table 17. Example ADC Input Gain Settings ................................................................................ 61 Table 18. TXP Output Selection.................................................................................................... 62 Table 19. Receiver Input Selection ............................................................................................... 63 Table 20. Auxiliary Data Width Selection ...................................................................................... 66 Table 21. PLL External Component Values .................................................................................. 80 Table 22. Revision History .......................................................................................................... 89
6
DS585PP5
CS42526
1. CHARACTERISTICS AND SPECIFICATIONS
(All Min/Max characteristics and specifications are guaranteed over the Specified Operating Conditions. Typical performance characteristics and specifications are derived from measurements taken at nominal supply voltages and TA = 25 C.)
SPECIFIED OPERATING CONDITIONS (AGND=DGND=0, all voltages with respect to ground;
OMCK=12.288 MHz; Master Mode) Parameter DC Power Supply Symbol Analog VA / VARX VD Digital VLS Serial Port Interface VLC Control Port Interface TA Min 4.75 3.13 1.8 1.8 -10 -40 Typ 5.0 3.3 5.0 5.0 Max 5.25 5.25 5.25 5.25 +70 +85 Units V V V V C C
Ambient Operating Temperature (power applied) CS42526-CQZ CS42526-DQZ
ABSOLUTE MAXIMUM RATINGS (AGND = DGND = 0 V; all voltages with respect to ground.)
Parameters Analog Digital Serial Port Interface Control Port Interface Input Current (Note 1) Analog Input Voltage (Note 2) Digital Input Voltage Serial Port Interface (Note 2) Control Port Interface S/PDIF interface Ambient Operating Temperature(power applied) CS42526-CQZ CS42526-DQZ Storage Temperature DC Power Supply Symbol VA / VARX VD VLS VLC Iin VIN VIND-S VIND-C VIND-SP TA TA Tstg Min -0.3 -0.3 -0.3 -0.3 AGND-0.7 -0.3 -0.3 -0.3 -20 -50 -65 Max 6.0 6.0 6.0 6.0 10 VA+0.7 VLS+ 0.4 VLC+ 0.4 VARX+0.4 +85 +95 +150 Units V V V V mA V V V V C C C
WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes. Notes: 1. Any pin except supplies. Transient currents of up to 100 mA on the analog input pins will not cause SCR latch-up. 2. The maximum over/under voltage is limited by the input current.
DS585PP5
7
CS42526
ANALOG INPUT CHARACTERISTICS (TA = 25 C; VA =VARX= 5 V, VD = 3.3 V, Logic "0" =
DGND =AGND = 0 V; Logic "1" = VLS = VLC = 5 V; Measurement Bandwidth is 10 Hz to 20 kHz unless otherwise specified. Full scale input sine wave, 997 Hz.; PDN_RCVR = 1; SW_CTRL[1:0] = `01'; OMCK = 12.288 MHz; Single speed Mode CX_SCLK = 3.072 MHz; Double Speed Mode CX_SCLK = 6.144 MHz; Quad Speed Mode CX_SCLK = 12.288 MHz.) CS42526-CQZ CS42526-DQZ Parameter Symbol Min Typ Max Min Typ Max Unit Single Speed Mode (Fs=48 kHz) Dynamic Range A-weighted 108 114 106 114 dB unweighted 105 111 103 111 dB THD+N Total Harmonic Distortion + Noise -100 -94 -100 -92 dB (Note 3) -1 dB -91 -91 dB -20 dB -51 -51 dB -60 dB Double Speed Mode (Fs=96 kHz) dB 114 114 106 Dynamic Range A-weighted 108 dB 103 111 105 111 unweighted dB 108 108 40 kHz bandwidth unweighted THD+N Total Harmonic Distortion + Noise dB -92 -100 -94 -100 (Note 3) -1 dB dB -91 -91 -20 dB dB -51 -51 -60 dB dB -97 -97 40 kHz bandwidth -1 dB Quad Speed Mode (Fs=192 kHz) Dynamic Range A-weighted 108 114 106 114 dB unweighted 105 111 103 111 dB 40 kHz bandwidth unweighted 108 108 dB THD+N Total Harmonic Distortion + Noise dB -92 -100 -94 -100 (Note 3) -1 dB dB -91 -91 -20 dB dB -51 -51 -60 dB dB -97 -97 40 kHz bandwidth -1 dB Dynamic Performance for All Modes Interchannel Isolation 110 110 dB Interchannel Phase Deviation 0.0001 0.0001 Degree DC Accuracy Interchannel Gain Mismatch 0.1 0.1 dB Gain Drift +/-100 +/-100 ppm/C Offset Error HPF_FREEZE disabled 0 0 LSB HPF_FREEZE enabled 100 100 LSB Analog Input Full-scale Differential Input Voltage 1.05 VA 1.10 VA 1.16 VA 0.99 VA 1.10 VA 1.21 VA Vpp Input Impedance(differential) (Note 17 17 k 4) Common Mode Rejection Ratio CMRR 82 82 dB Notes: 3. Referred to the typical full-scale voltage. 4. Measured between AIN+ and AIN8 DS585PP5
CS42526
A/D DIGITAL FILTER CHARACTERISTICS
Parameter Single Speed Mode (2 to 50 kHz sample rates) Passband Passband Ripple Stopband Stopband Attenuation Total Group Delay (Fs = Output Sample Rate) Group Delay Variation vs. Frequency Double Speed Mode (50 to 100 kHz sample rates) Passband Passband Ripple Stopband Stopband Attenuation Total Group Delay (Fs = Output Sample Rate) Group Delay Variation vs. Frequency Quad Speed Mode (100 to 192 kHz sample rates) Passband Passband Ripple Stopband Stopband Attenuation Total Group Delay (Fs = Output Sample Rate) Group Delay Variation vs. Frequency High Pass Filter Characteristics Frequency Response Phase Deviation Passband Ripple Filter Setting Time Notes: 5. The filter frequency response scales precisely with Fs. 6. Response shown is for Fs equal to 48 kHz. Filter characteristics scale with Fs. -3.0 dB -0.13 dB @ 20 Hz (Note 6) (Note 6) 1 20 10 105/Fs 0 Hz Hz Deg dB s tgd tgd (Note 5) (-0.1 dB) (Note 5) 0 0.78 -97 5/Fs 0.24 0.035 0.0 Fs dB Fs dB s s tgd tgd (Note 5) (-0.1 dB) (Note 5) 0 0.68 -92 9/Fs 0.45 0.035 0.0 Fs dB Fs dB s s tgd tgd (Note 5) (-0.1 dB) (Note 5) 0 0.58 -95 12/Fs 0.47 0.035 0.0 Fs dB Fs dB s s Symbol Min Typ Max Unit
DS585PP5
9
CS42526
ANALOG OUTPUT CHARACTERISTICS (TA = 25 C; VA =VARX= 5 V, VD = 3.3 V, Logic "0" = DGND =AGND = 0 V; Logic "1" = VLS = VLC = 5V; Measurement Bandwidth 10 Hz to 20 kHz unless otherwise specified.; Full scale output 997 Hz sine wave, Test load RL = 3 k, CL = 30 pF; PDN_RCVR = 1; SW_CTRL[1:0] = `01'; OMCK = 12.288 MHz; Single speed Mode, CX_SCLK = 3.072 MHz; Double Speed Mode, CX_SCLK = 6.144 MHz; Quad Speed Mode, CX_SCLK = 12.288 MHz.)
CS42526-CQZ CS42526-DQZ Parameter Symbol Min Typ Max Min Typ Max Unit Dynamic performance for all modes Dynamic Range(Note 7) dB 114 106 114 108 24-bit A-Weighted dB 111 103 111 105 unweighted dB 97 97 16-bit A-Weighted dB 94 94 (Note 8) unweighted Total Harmonic Distortion + Noise THD+N dB -92 -100 -94 -100 24-bit 0 dB dB -91 -91 -20 dB dB -51 -51 -60 dB dB -94 -94 16-bit 0 dB dB -74 -74 (Note 8) -20 dB dB -34 -34 -60 dB Idle Channel Noise/Signal-to114 114 dB noise ratio (A-Weighted) Interchannel Isolation (1 kHz) 90 90 dB Analog Output Characteristics for all modes Unloaded Full Scale Differential VFS .89 VA .94 VA .99 VA .84 VA .94 VA 1.04 VA Vpp Output Voltage Interchannel Gain Mismatch 0.1 0.1 dB Gain Drift 300 300 ppm/C Output Impedance ZOUT 150 150 AC-Load Resistance RL 3 3 k Load Capacitance CL 30 30 pF Notes: 7. One-half LSB of triangular PDF dither is added to data. 8. Performance limited by 16-bit quantization noise.
10
DS585PP5
CS42526
D/A DIGITAL FILTER CHARACTERISTICS
Fast Roll-Off Slow Roll-Off Parameter Min Typ Max Min Typ Max Unit Combined Digital and On-chip Analog Filter Response - Single Speed Mode - 48 kHz Passband (Note 9) to -0.01 dB corner 0 0.4535 0 0.4166 Fs to -3 dB corner 0 0.4998 0 0.4998 Fs Frequency Response 10 Hz to 20 kHz -0.01 +0.01 -0.01 +0.01 dB StopBand 0.5465 0.5834 Fs StopBand Attenuation (Note 10) 90 64 dB Group Delay 12/Fs 6.5/Fs s Passband Group Delay Deviation 0 - 20 kHz 0.41/Fs 0.14/Fs s De-emphasis Error (Note 11) Fs = 32 kHz 0.23 0.23 dB (Relative to 1 kHz) Fs = 44.1 kHz 0.14 0.14 dB Fs = 48 kHz 0.09 0.09 dB Combined Digital and On-chip Analog Filter Response - Double Speed Mode - 96 kHz Passband (Note 9) to -0.01 dB corner 0 0.4166 0 0.2083 Fs to -3 dB corner 0 0.4998 0 0.4998 Fs Frequency Response 10 Hz to 20 kHz -0.01 0.01 -0.01 0.01 dB StopBand 0.5834 0.7917 Fs StopBand Attenuation (Note 10) 80 70 dB Group Delay 4.6/Fs 3.9/Fs s Passband Group Delay Deviation 0 - 20 kHz 0.03/Fs 0.01/Fs s Combined Digital and On-chip Analog Filter Response - Quad Speed Mode - 192 kHz Passband (Note 9) to -0.01 dB corner 0 0.1046 0 0.1042 Fs to -3 dB corner 0 0.4897 0 0.4813 Fs Frequency Response 10 Hz to 20 kHz -0.01 0.01 -0.01 0.01 dB StopBand 0.6355 0.8683 Fs StopBand Attenuation (Note 10) 90 75 dB Group Delay 4.7/Fs 4.2/Fs s Passband Group Delay Deviation 0 - 20 kHz 0.01/Fs 0.01/Fs s Notes: 9. Response is clock dependent and will scale with Fs. Note that the response plots (Figures 45 to 68) have been normalized to Fs and can be de-normalized by multiplying the X-axis scale by Fs. 10. Single and Double Speed Mode Measurement Bandwidth is from stopband to 3 Fs. Quad Speed Mode Measurement Bandwidth is from stopband to 1.34 Fs. 11. De-emphasis is available only in Single Speed Mode.
DS585PP5
11
CS42526
SWITCHING CHARACTERISTICS (For CQZ, TA = -10 to +70 C; For DQZ, TA = -40 to +85 C;
VA=VARX = 5 V, VD =VLC= 3.3 V, VLS = 1.8 V to 5.25 V; Inputs: Logic 0 = DGND, Logic 1 = VLS, CL = 30 pF) Parameters RST pin Low Pulse Width PLL Clock Recovery Sample Rate Range RMCK output jitter RMCK output duty cycle OMCK Frequency OMCK Duty Cycle CX_SCLK, SAI_SCLK Duty Cycle CX_LRCK, SAI_LRCK Duty Cycle Master Mode RMCK to CX_SCLK, SAI_SCLK active edge delay RMCK to CX_LRCK, SAI_LRCK delay Slave Mode CX_SCLK, SAI_SCLK Falling Edge to CX_SDOUT, SAI_SDOUT Output Valid CX_LRCK, SAI_LRCK Edge to MSB Valid CX_SDIN Setup Time Before CX_SCLK Rising Edge CX_SDIN Hold Time After CX_SCLK Rising Edge CX_SCLK, SAI_SCLK High Time CX_SCLK, SAI_SCLK Low Time CX_SCLK, SAI_SCLK falling to CX_LRCK, SAI_LRCK Edge tdpd tlrpd tds tdh tsckh tsckl tlrck 10 30 20 20 -25 50 20 +25 ns ns ns ns ns ns ns tsmd tlmd 0 0 15 15 ns ns (Note 14) (Note 15) (Note 13) (Note 13) (Note 12) Symbol Min 1 30 45 1.024 40 45 45 Typ 200 50 50 50 50 Max 200 55 25.600 60 55 55 Units ms kHz ps RMS % MHz % % %
Notes: 12. After powering up the CS42526, RST should be held low after the power supplies and clocks are settled. 13. See Table 1 on page 26 for suggested OMCK frequencies 14. Limit the loading on RMCK to 1 CMOS load if operating above 24.576 MHz. 15. Not valid when RMCK_DIV in "Clock Control (address 06h)" on page 52 is set to Multiply by 2.
CX_LRCK SAI_LRCK (input)
CX_SCLK SAI_SCLK (output) CX_LRCK SAI_LRCK (output)
t lrck
t sckh
t sckl
CX_SCLK SAI_SCLK (input)
t smd t lmd
CX_SDINx t lrpd t ds t dh MSB
t dpd MSB-1
RMCK
CX_SDOUT SAI_SDOUT
Figure 1. Serial Audio Port Master Mode Timing
Figure 2. Serial Audio Port Slave Mode Timing
12
DS585PP5
CS42526
SWITCHING CHARACTERISTICS - CONTROL PORT - I2C FORMAT
(For CQZ, TA = -10 to +70 C; For DQZ, TA = -40 to +85 C; VA=VARX = 5 V, VD =VLS= 3.3 V; VLC = 1.8 V to 5.25 V; Inputs: Logic 0 = DGND, Logic 1 = VLC, CL = 30 pF) Parameter SCL Clock Frequency RST Rising Edge to Start Bus Free Time Between Transmissions Start Condition Hold Time (prior to first clock pulse) Clock Low time Clock High Time Setup Time for Repeated Start Condition SDA Hold Time from SCL Falling SDA Setup time to SCL Rising Rise Time of SCL and SDA Fall Time SCL and SDA Setup Time for Stop Condition Acknowledge Delay from SCL Falling (Note 17) (Note 16) Symbol fscl tirs tbuf thdst tlow thigh tsust thdd tsud trc tfc tsusp tack Min 500 4.7 4.0 4.7 4.0 4.7 0 250 4.7 Max 100 1 300 (Note 18) Unit kHz ns s s s s s s ns s ns s ns
Notes: 16. Data must be held for sufficient time to bridge the transition time, tfc, of SCL. 17. The acknowledge delay is based on MCLK and can limit the maximum transaction speed. 18.
15 -------------------256 x Fs 15 15 for Single-Speed Mode, -------------------- for Double-Speed Mode, ----------------- for Quad-Speed Mode 128 x Fs 64 x Fs
RST t S to p irs S ta rt R e p e a te d S t a rt t rd t fd S to p
SDA t buf t h dst t h igh t h d st t fc t su sp
SCL t t t su d t ack t su st t rc
lo w
hd d
Figure 3. Control Port Timing - I2C Format
DS585PP5
13
CS42526
SWITCHING CHARACTERISTICS - CONTROL PORT - SPITM FORMAT
(For CQZ, TA = -10 to +70 C; For DQZ, TA = -40 to +85 C; VA=VARX = 5 V, VD =VLS= 3.3 V; VLC = 1.8 V to 5.25 V; Inputs: Logic 0 = DGND, Logic 1 = VLC, CL = 30 pF) Parameter CCLK Clock Frequency CS High Time Between Transmissions CS Falling to CCLK Edge CCLK Low Time CCLK High Time CDIN to CCLK Rising Setup Time CCLK Rising to DATA Hold Time CCLK Falling to CDOUT Stable Rise Time of CDOUT Fall Time of CDOUT Rise Time of CCLK and CDIN Fall Time of CCLK and CDIN (Note 21) (Note 21) (Note 20) (Note 19) Symbol fsck tcsh tcss tscl tsch tdsu tdh tpd tr1 tf1 tr2 tf2 Min 0 1.0 20 66 66 40 15 Typ Max 6.0 50 25 25 100 100 Units MHz s ns ns ns ns ns ns ns ns ns ns
Notes: 19. If Fs is lower than 46.875 kHz, the maximum CCLK frequency should be less than 128 Fs. This is dictated by the timing requirements necessary to access the Channel Status and User Bit buffer memory. Access to the control register file can be carried out at the full 6 MHz rate. The minimum allowable input sample rate is 8 kHz, so choosing CCLK to be less than or equal to 1.024 MHz should be safe for all possible conditions. 20. Data must be held for sufficient time to bridge the transition time of CCLK. 21. For fsck <1 MHz.
CS t css CCLK t r2 CDIN t dsu t dh t f2 t scl t sch t csh
t pd
CDOUT
Figure 4. Control Port Timing - SPI Format
14
DS585PP5
CS42526
DC ELECTRICAL CHARACTERISTICS (TA = 25 C; AGND=DGND=0, all voltages with respect
to ground; OMCK=12.288 MHz; Master Mode) Parameter Power Supply Current (Note 22) normal operation, VA = VARX = 5 V VD = 5 V VD = 3.3 V Interface current, VLC=5 V (Note 23) VLS=5 V power-down state (all supplies) (Note 24) (Note 22) normal operation power-down (Note 24) normal operation power-down (Note 24) (1 kHz) (60 Hz) PSRR Symbol IA ID ID ILC ILS Ipd Min Typ 75 85 51 250 13 250 587 1.25 866 1.25 60 40 2.7 50 0.01 5.0 35 0.01 Max 650 960 Units mA mA mA A mA A mW mW mW mW dB dB V k mA V k mA
Power Consumption VA=VARX=5 V, VD=VLS=VLC=3.3 V VA=VARX=5 V, VD=VLS=VLC=5 V Power Supply Rejection Ratio (Note 25) VQ Nominal Voltage VQ Output Impedance VQ Maximum allowable DC current FILT+ Nominal Voltage FILT+ Output Impedance FILT+ Maximum allowable DC current
Notes: 22. Current consumption increases with increasing FS and increasing OMCK. Max values are based on highest FS and highest OMCK. Variance between speed modes is negligible. 23. ILC measured with no external loading on the SDA pin. 24. Power down mode is defined as RST pin = Low with all clock and data lines held static. 25. Valid with the recommended capacitor values on FILT+ and VQ as shown in Figure 5.
DS585PP5
15
CS42526
DIGITAL INTERFACE CHARACTERISTICS (For CQZ, TA = +25 C; For DQZ, TA = -40 to +85
C) Parameters (Note 26) High-Level Input Voltage Low-Level Input Voltage High-Level Output Voltage at Io=2 mA Serial Port Control Port Serial Port Control Port (Note 27)Serial Port Control Port MUTEC, GPOx TXP (Note 27) VOL VTH Iin 150 8 3 0.4 200 10 V mVpp A pF mA Symbol VIH VIL Min 0.7xVLS 0.7xVLC VLS-1.0 VLC-1.0 VA-1.0 VD-1.0 Typ Max 0.2xVLS 0.2xVLC Units V V V V V V V V
VOH
Low-Level Output Voltage at Io=2 mA Serial Port, Control Port, MUTEC, GPOx,TXP Input Sensitivity, RXP[7:0] Input Leakage Current Input Capacitance MUTEC Drive Current
Notes: 26. Serial Port signals include: RMCK, OMCK, SAI_SCLK, SAI_LRCK, SAI_SDOUT, CX_SCLK, CX_LRCK, CX_SDOUT, CX_SDIN1-3 ADCIN1/2 Control Port signals include: SCL/CCLK, SDA/CDOUT, AD0/CS, AD1/CDIN, INT, RST S/PDIF-GPO Interface signals include: RXP0, RXP/GPO[1:7] 27. When operating RMCK above 24.576 MHz, limit the loading on the signal to 1 CMOS load.
16
DS585PP5
CS42526
2. PIN DESCRIPTIONS
CX_SDIN3 SAI_LRCK SAI_SCLK SAI_SDOUT CX_SDIN2 OM CK CX_SDOUT ADCIN1 ADCIN2 RMCK DGND RXP0 TEST
VLS
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 CX_SDIN1 CX_SCLK CX _LRCK VD DGND VLC SCL/CCLK SDA/CDO UT AD1/CDIN AD0/CS INT RST AINRAINR+ AINL+ AINL1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 NC NC NC NC AOUTB3AOUTB3+ AOUTA3+ AOUTA3AOUTB2FILT+ AOUTB2+ AOUTA2+ VQ REFGND VA AGND 48 47 46 45 44 43 42 RXP1/G PO 1 RXP2/G PO 2 RXP3/G PO 3 RXP4/G PO 4 RXP5/G PO 5 RXP6/G PO 6 RXP7/G PO 7 VARX AG ND LPFLT M UT EC AO UTA1AOUTA1+ AOUTB1+ AO UTB1AO UTA2-
CS42526
TXP
VD
41 40 39 38 37 36 35 34 33
Pin Name
CX_SDIN1 CX_SDIN2 CX_SDIN3 CX_SCLK CX_LRCK VD DGND VLC SCL/CCLK SDA/CDOUT
#
1 64 63 2 3 4 51 5 52 6 7 8
Pin Description
Codec Serial Audio Data Input (Input) - Input for two's complement serial audio data.
CODEC Serial Clock (Input/Output) - Serial clock for the CODEC serial audio interface. CODEC Left Right Clock (Input/Output) - Determines which channel, Left or Right, is currently active on the CODEC serial audio data line. Digital Power (Input) - Positive power supply for the digital section. Digital Ground (Input) - Ground reference. Should be connected to digital ground. Control Port Power (Input) - Determines the required signal level for the control port. Serial Control Port Clock (Input) - Serial clock for the serial control port. Requires an external pull-up resistor to the logic interface voltage in I2C mode as shown in the Typical Connection Diagram. Serial Control Data (Input/Output) - SDA is a data I/O line in I2C mode and requires an external pull-up resistor to the logic interface voltage, as shown in the Typical Connection Diagram. CDOUT is the output data line for the control port interface in SPI mode. Address Bit 1 (I2C)/Serial Control Data (SPI) (Input) - AD1 is a chip address pin in I2C mode; CDIN is the input data line for the control port interface in SPI mode. Address Bit 0 (I2C)/Control Port Chip Select (SPI) (Input) - AD0 is a chip address pin in I2C mode; CS is the chip select signal in SPI mode.
AD1/CDIN AD0/CS
9 10
DS585PP5
17
CS42526
INT RST AINRAINR+ AINL+ AINLVQ FILT+ REFGND NC
11 12 13 14 15 16 17 18 19 20 21 22 23
Interrupt (Output) - The CS42526 will generate an interrupt condition as per the Interrupt Mask register. See "Interrupts" on page 40 for more details. Reset (Input) - The device enters a low power mode and all internal registers are reset to their default settings when low. Differential Right Channel Analog Input (Input) - Signals are presented differentially to the delta-sigma modulators via the AINR+/- pins. Differential Left Channel Analog Input (Input) - Signals are presented differentially to the delta-sigma modulators via the AINL+/- pins. Quiescent Voltage (Output) - Filter connection for internal quiescent reference voltage. Positive Voltage Reference (Output) - Positive reference voltage for the internal sampling circuits. Reference Ground (Input) - Ground reference for the internal sampling circuits. No Connect Pins - Do not make any connection to these pins.
AOUTA1 +,AOUTB1 +,AOUTA2 +,AOUTB2 +,AOUTA3 +,AOUTB3 +,VA VARX AGND MUTEC
36,37 Differential Analog Output (Output) - The full-scale differential analog output level is specified in the 35,34 Analog Characteristics specification table. 32,33 31,30 28,29 27,26 24 41 25 40 38
Analog Power (Input) - Positive power supply for the analog section. Analog Ground (Input) - Ground reference. Should be connected to analog ground. Mute Control (Output) - The Mute Control pin outputs high impedance following an initial power-on condition or whenever the PDN bit is set to a `1', forcing the codec into power-down mode. The signal will remain in a high impedance state as long as the part is in power-down mode. The Mute Control pin goes to the selected "active" state during reset, muting, or if the master clock to left/right clock frequency ratio is incorrect. This pin is intended to be used as a control for external mute circuits to prevent the clicks and pops that can occur in any single supply system. The use of external mute circuits are not mandatory but may be desired for designs requiring the absolute minimum in extraneous clicks and pops. PLL Loop Filter (Output) - An RC network should be connected between this pin and ground. S/PDIF Receiver Input/ General Purpose Output (Input/Output) - Receiver inputs for S/PDIF encoded data. The CS42526 has an internal 8:2 multiplexer to select the active receiver port, according to the Receiver Mode Control 2 register. These pins can also be configured as general purpose output pins, ADC Overflow indicators or Mute Control outputs according to the RXP/General Purpose Pin Control registers.
LPFLT RXP7/GPO7 RXP6/GPO6 RXP5/GPO5 RXP4/GPO4 RXP3/GPO3 RXP2/GPO2 RXP1/GPO1 RXP0 TXP VLS
SAI_SDOUT
39 42 43 44 45 46 47 48 49 50 53 54
S/PDIF Receiver Input (Input) - Dedicated receiver input for S/PDIF encoded data. S/PDIF Transmitter Output (Output) - S/PDIF encoded data output, mapped directly from one of the receiver inputs as indicated by the Receiver Mode Control 2 register. Serial Port Interface Power (Input) - Determines the required signal level for the serial port interfaces. Serial Audio Interface Serial Data Output (Output) - Output for two's complement serial audio PCM data from the S/PDIF incoming stream. This pin can also be configured to transmit the output of the internal and external ADCs. Recovered Master Clock (Output) - Recovered master clock output from the External Clock Reference (OMCK, pin 59) or the PLL which is locked to the incoming S/PDIF stream or CX_LRCK.
RMCK
55
18
DS585PP5
CS42526
CX_SDOUT ADCIN1 ADCIN2 OMCK TEST SAI_LRCK SAI_SCLK
56 58 57 59 62 60 61
CODEC Serial Data Output (Output) - Output for two's complement serial audio data from the internal and external ADCs. External ADC Serial Input (Input) - The CS42526 provides for up to two external stereo analog to digital converter inputs to provide a maximum of six channels on one serial data output line when the CS42526 is placed in One Line mode. External Reference Clock (Input) - External clock reference that must be within the ranges specified in the register "OMCK Frequency (OMCK Freqx)" on page 53. Test Pin (Input) - This pin must be connected to DGND. Serial Audio Interface Left/Right Clock (Input/Output) - Determines which channel, Left or Right, is currently active on the serial audio data line. Serial Audio Interface Serial Clock (Input/Output) - Serial clock for the Serial Audio Interface.
DS585PP5
19
CS42526
3. TYPICAL CONNECTION DIAGRAM
+ 3 .3 V to + 5 V
10 F
+
0 .1 F
0 .0 1 F
0 .0 1 F
0 .1 F
+
+5 V
10 F
10 F
+
0 .1 F
0 .0 1 F
4
VD
0 .0 1 F
51
0 .1 F
+
10 F
41
24
VD
VA
VA
AO UTA1+
D riv e r
S /P D IF In te rfa c e
50
49 48
36
TXP
RXP0 R X P 1 /G P O 1
AO UTA1-
37
A n a lo g O u tp u t B u ffe r 2 and M u te C irc u it (o p tio n a l)
47
46
R X P 2 /G P O 2 R X P 3 /G P O 3 R X P 4 /G P O 4 R X P 5 /G P O 5 R X P 6 /G P O 6 R X P 7 /G P O 7
AO UTB1+
35
AO UTB1-
34
A n a lo g O u tp u t B u ffe r 2 and M u te C irc u it (o p tio n a l)
U p to 8 S o u rc e s
45
44
AO UTA2+
32
43 42
+ 2 .5 V to + 5 V 53 0 .1 F
AO UTA2-
33
A n a lo g O u tp u t B u ffe r 2 and M u te C irc u it (o p tio n a l)
AO UTB2+
31
VLS
AO UTB2-
30
A n a lo g O u tp u t B u ffe r 2 and M u te C irc u it (o p tio n a l)
OSC
59
OMCK
AO UTA3+
28
58
C S5361 A /D C o n v e rte r CS5361 A /D C o n v e rte r
A D C IN 1
AO UTA3-
29
A n a lo g O u tp u t B u ffe r 2 and M u te C irc u it (o p tio n a l)
57
55
A D C IN 2
AO UTB3+
27
RMCK
AO UTB3-
26
CS42526
54
60
A n a lo g O u tp u t B u ffe r 2 and M u te C irc u it (o p tio n a l)
S A I_ S D O U T
S A I_ L R C K S A I_ S C L K C X_LRCK CX_SCLK
M UTEC
D ig ita l A u d io P ro c e s s o r
61
3
+VA
38
* *
M u te D riv e (o p tio n a l)
2
56
1
CX_SDO UT
C X _ S D IN 1 C X _ S D IN 2 C X _ S D IN 3
A IN L +
* P u ll u p o r d o w n a s re q u ire d o n s ta rtu p if th e M u te C o n tro l is u s e d .
64
63
15
A IN L -
16
A n a lo g 2In0 0 tp F * 7 pu B u ffe r 1
L e ft A n a lo g In p u t
11
12
IN T
RST S C L /C C L K S D A /C D O U T A D 1 /C D IN
A IN R A IN R +
14
M ic ro C o n tro lle r
7 8
13
A n a lo g 2 In0 0 t F * 7 pu p B u ffe r 1
R ig h t A n a lo g In p u t
9
10
A D 0 /C S
VQ F IL T +
17 18
+ 0 .1 F 100 F +
** 2 k
+ 1 .8 V to + 5 V
**
6 0 .1 F
2 k
REFGND
4 .7 F
19
0 .1 F
VLC
LPFLT
39
62
* * R e s is to rs a re re q u ire d fo r I 2 C c o n tro l p o rt o p e ra tio n
R F IL T TEST
DGND DGND 52 5
3
AGND 25
AGND 40
C F IL T
3
C R IP
3
C o n n e c t D G N D a n d A G N D a t s in g le p o in t n e a r C o d e c
1 . S e e th e A D C In p u t F ilte r s e c tio n in th e A p p e n d ix . 2 . S e e th e D A C O u tp u t F ilte r s e c tio n in th e A p p e n d ix . 3 . S e e th e P L L F ilte r s e c tio n in th e A p p e n d ix .
Figure 5. Typical Connection Diagram
20
DS585PP5
CS42526
4. APPLICATIONS 4.1 Overview
The CS42526 is a highly integrated mixed signal 24-bit audio codec comprised of 2 analog-to-digital converters (ADC), implemented using multi-bit delta-sigma techniques, 6 digital-to-analog converters (DAC) and a 192 kHz digital audio S/PDIF receiver. Other functions integrated within the codec include independent digital volume controls for each DAC, digital de-emphasis filters for DAC and S/PDIF, digital gain control for ADC channels, ADC high-pass filters, an on-chip voltage reference, and an 8:2 mux for S/PDIF sources. All serial data is transmitted through two configurable serial audio interfaces with standard serial interface support as well as enhanced one line modes of operation allowing up to 6 channels of serial audio data on one data line. All functions are configured through a serial control port operable in SPI mode or in I2C mode. Figure 5 show the recommended connections for the CS42526. The CS42526 operates in one of three oversampling modes based on the input sample rate. Mode selection is determined by the FM bits in register "Functional Mode (address 03h)" on page 48. Single-Speed mode (SSM) supports input sample rates up to 50 kHz and uses a 128x oversampling ratio. DoubleSpeed mode (DSM) supports input sample rates up to 100 kHz and uses an oversampling ratio of 64x. Quad-Speed mode (QSM) supports input sample rates up to 192 kHz and uses an oversampling ratio of 32x. Using the receiver clock recovery PLL, a low jitter clock is recovered from the incoming S/PDIF data stream. The recovered clock or an externally supplied clock attached to the OMCK pin can be used as the System Clock.
4.2 4.2.1
Analog Inputs Line Level Inputs
AINR+, AINR-, AINL+, and AINL- are the line level differential analog inputs. The analog signal must be externally biased to VQ, approximately 2.7 V, before being applied to these inputs. The level of the signal can be adjusted for the left and right ADC independently through the ADC Left and Right Channel Gain Control Registers on page 61. The ADC output data is in 2's complement binary format. For inputs above positive full scale or below negative full scale, the ADC will output 7FFFFFH or 800000H, respectively and cause the ADC Overflow bit in the register "Interrupt Status (address 20h) (Read Only)" on page 63 to be set to a `1'. The RXP/GPO pins may also be configured to indicate an overflow condition has occurred in the ADC. See "RXP/General Purpose Pin Control (addresses 29h to 2Fh)" on page 69 for proper configuration. Figure 6 shows the full-scale analog input levels. See "ADC Input Filter" on page 75 for a recommended input buffer.
4.1 V 2.7 V 1.3 V 4.1 V 2.7 V 1.3 V AINAIN+
Full-Scale Input Level= (AIN+) - (AIN-)= 5.6 Vpp
Figure 6. Full-Scale Analog Input
DS585PP5
21
CS42526
4.2.2 High Pass Filter and DC Offset Calibration
The high pass filter continuously subtracts a measure of the DC offset from the output of the decimation filter. The high pass filter can be independently enabled and disabled. If the HPF_Freeze bit is set during normal operation, the current value of the DC offset for the corresponding channel is frozen and this DC offset will continue to be subtracted from the conversion result. This feature makes it possible to perform a system DC offset calibration by: 1) Running the CS42526 with the high pass filter enabled until the filter settles. See the Digital Filter Characteristics for filter settling time. 2) Disabling the high pass filter and freezing the stored DC offset. The high pass filters are controlled using the HPF_FREEZE bit in the register "Misc Control (address 05h)" on page 51.
4.3 4.3.1
Analog Outputs Line Level Outputs and Filtering
The CS42526 contains on-chip buffer amplifiers capable of producing line level differential outputs. These amplifiers are biased to a quiescent DC level of approximately VQ. The delta-sigma conversion process produces high frequency noise beyond the audio passband, most of which is removed by the on-chip analog filters. The remaining out-of-band noise can be attenuated using an off-chip low pass filter. See "DAC Output Filter" on page 75 for a recommended output buffer. This filter configuration accounts for the normally differing AC loads on the AOUT+ and AOUT- differential output pins. It also shows an AC coupling configuration which minimizes the number of required AC coupling capacitors. Figure 7 shows the full-scale analog output levels.
3.95 V AOUT+ 2.7 V 1.45 V 3.95 V AOUT2.7 V 1.45 V
Full-Scale Output Level= (AIN+) - (AIN-)= 5 Vpp
Figure 7. Full-Scale Output
4.3.2
Interpolation Filter
To accommodate the increasingly complex requirements of digital audio systems, the CS42526 incorporates selectable interpolation filters for each mode of operation. A "fast" and a "slow" roll-off filter is available in Single, Double, and Quad Speed modes. These filters have been designed to accommodate a variety of musical tastes and styles. The FILT_SEL bit found in the register "Misc Control (address 05h)" on page 51 selects which filter is used. Filter response plots can be found in Figures 45 to 68.
22
DS585PP5
CS42526
4.3.3 Digital Volume and Mute Control
Each DAC's output level is controlled via the Volume Control registers operating over the range of 0 to -127 dB attenuation with 0.5 dB resolution. See "Volume Control (addresses 0Fh, 10h, 11h, 12h, 13h, 14h)" on page 58. Volume control changes are programmable to ramp in increments of 0.125 dB at the rate controlled by the SZC[1:0] bits in the Digital Volume Control register. See "Volume Transition Control (address 0Dh)" on page 56. Each output can be independently muted via mute control bits in the register "Channel Mute (address 0Eh)" on page 58. When enabled, each XX_MUTE bit attenuates the corresponding DAC to its maximum value (-127 dB). When the XX_MUTE bit is disabled, the corresponding DAC returns to the attenuation level set in the Volume Control register. The attenuation is ramped up and down at the rate specified by the SZC[1:0] bits. The Mute Control pin, MUTEC, is typically connected to an external mute control circuit. The Mute Control pin outputs high impedance during power up or in power down mode by setting the PDN bit in the register "Power Control (address 02h)" on page 47 to a `1'. Once out of power-down mode the pin can be controlled by the user via the control port, or automatically asserted high when zero data is present on all DAC inputs, or when serial port clock errors are present. To prevent large transients on the output, it is desirable to mute the DAC outputs before the Mute Control pin is asserted. Please see the MUTEC pin in the Pin Descriptions section for more information. Each of the RXP1/GPO1-RXP7/GPO7 can be programmed to provide a hardware MUTE signal to individual circuits. When not used as an S/PDIF input, each pin can be programmed as an output, with specific muting capabilities as defined by the function bits in the register "RXP/General Purpose Pin Control (addresses 29h to 2Fh)" on page 69.
4.3.4
ATAPI Specification
The CS42526 implements the channel mixing functions of the ATAPI CD-ROM specification. The ATAPI functions are applied per A-B pair. Refer to Table 16 on page 60 and Figure 8 for additional information.
A Channel Volume Control
Left Channel Audio Data
MUTE
AOUTAx
CX_SDINx
Right Channel Audio Data
B Channel Volume Control
MUTE
AOUTBx
Figure 8. ATAPI Block Diagram (x = channel pair 1, 2, or 3)
DS585PP5
23
CS42526
4.4 S/PDIF Receiver
The CS42526 includes an S/PDIF digital audio receiver. The S/PDIF receiver accepts and decodes digital audio data according to the IEC60958 (S/PDIF), and EIAJ CP-1201 interface standards. The receiver consists of an 8:2 multiplexer input stage driven through pins RXP0 and RXP1/GPO1 - RXP7/GPO7, a PLL based clock recovery circuit, and a decoder which separates the audio data from the channel status and user data. A comprehensive buffering scheme provides read access to the channel status and user data. External components are used to terminate and isolate the incoming data cables from the CS42526. These components and required circuitry are detailed in the CDB42528.
4.4.1
8:2 S/PDIF Input Multiplexer
The CS42526 contains an 8:2 S/PDIF Input Multiplexer to accommodate up to eight channels of input digital audio data. Digital audio data is single-ended and input through the RXP0 and RXP1/GPO1-RXP7/GPO7 pins. Any one of these inputs can be multiplexed to the input of the S/PDIF receiver and to the S/PDIF output pin TXP. When any portion of the multiplexer is implemented, unused RXP0 and RXPx/GPOx pins should be tied to a 0.01uF capacitor to ground. The receiver multiplexer select line control is accessed through bits RMUX2:0 in the Receiver Mode Control 2 register on page 62. The TXP multiplexer select line control is accessed through bits TMUX2:0 in the same register. The multiplexer defaults to RXP0 for both functions.
4.4.2
Error Reporting and Hold Function
While decoding the incoming S/PDIF data stream, the CS42526 can identify several kinds of error, indicated in the register "Receiver Errors (address 26h) (Read Only)" on page 67. See "Error Reporting and Hold Function" on page 76 for more information.
4.4.3
Channel Status Data Handling
The first 2 bytes of the Channel Status block (C data) are decoded into the Receiver Channel Status register (See "Receiver Channel Status (address 25h) (Read Only)" on page 66). See "Channel Status Data Handling" on page 76 for more information.
4.4.4
User Data Handling
The incoming User (U) data is buffered in a user accessible buffer. If the U data bits have been encoded as Q-channel subcode, the data is decoded and presented in 10 consecutive register locations, address 30h to 39h. The user can configure the Interrupt Mask Register to cause interrupts to indicate the decoding of a new Q-channel block, which may be read through the control port. See "User (U) Data E Buffer Access" on page 78 for more information.
4.4.5
Non-Audio Auto-Detection
An S/PDIF data stream may be used to convey non-audio data, thus it is important to know whether the incoming data stream is digital PCM audio samples or not. This information is typically conveyed in channel status bit 1 (AUDIO), which is extracted automatically by the CS42526. Certain non-audio sources, however, such as AC-3(R) or MPEG encoders, may not adhere to this convention, and the bit may not be properly set. See "Non-Audio Auto-Detection" on page 78 for more information including details for interface format detection.
24
DS585PP5
CS42526
4.5 Clock Generation
The clock generation for the CS42526 is shown in the figure below. The internal MCLK is derived from the output of the PLL or a master clock source attached to OMCK. The mux selection is controlled by the SW_CTRLx bits and can be configured to manual switch mode only, or automatically switch on loss of PLL lock to the other source input.
RMCK_DIVx bits
2 4 X2 Internal MCLK Recovered S/PDIF Clock SAI_LRCK (slave mode)
00 01 10 11
RMCK single speed 256 double speed 128 quad speed 64
0 1
PLL (256Fs) 8.192 49.152 MHz PLL_LRCK bit
00 01
Auto Detect Input Clock 1,1.5, 2, 4 SW_CTRLx bits (manual or auto switch)
00 01 10
CODEC_FMx bits
CX_LRCK
OMCK
00 01 10
128FS 256FS
DAC_OLx or ADC_OLx bits
not OLM OLM #1 OLM #2
single speed 4 double speed 2 quad speed 1
CX_SCLK
00 01 10
SAI_FMx bits
SAI_LRCK
00 01 10
128FS 256FS
ADC_OLx and ADC_SP SELx bits
not OLM OLM #1 OLM #2
SAI_SCLK
Figure 9. CS42526 Clock Generation
4.5.1
PLL and Jitter Attenuation
An on-chip Phase Locked Loop (PLL) is used to recover the clock from the incoming S/PDIF data stream. There are some applications where low jitter in the recovered clock, presented on the RMCK pin, is important. For this reason, the PLL has been designed to have good jitter attenuation characteristics as shown in Figure 28 on page 80. The PLL can be configured to lock onto the incoming SAI_LRCK signal from the Serial Audio Interface Port and generate the required internal master clock frequency. By setting the PLL_LRCK bit to a `1' in the register "Clock Control (address 06h)" on page 52, the PLL will lock to the incoming SAI_LRCK and generate an output master clock (RMCK) of 256Fs. Table 2 shows the output of the PLL with typical input Fs values for SAI_LRCK. See "Appendix C: PLL Filter" on page 79 for more information concerning PLL operation, required filter components, optimal layout guidelines and jitter attenuation characteristics.
DS585PP5
25
CS42526
4.5.2 OMCK System Clock Mode
A special clock switching mode is available that allows the clock that is input through the OMCK pin to be used as the internal master clock. This feature is controlled by the SW_CTRLx bits in register "Clock Control (address 06h)" on page 52. An advanced auto switching mode is also implemented to maintain master clock functionality. The clock auto switching mode allows the clock input through OMCK to be used as a clock in the system without any disruption when the PLL loses lock; for example, when the input is removed from the receiver. This clock switching is done glitch free. A clock adhering to the specifications detailed in the Switching Characteristics table on page 12 must be applied to the OMCK pin at all times that the FRC_PLL_LK bit is set to `0' (See "Force PLL Lock (FRC_PLL_LK)" on page 53).
Sample Rate (kHz) OMCK (MHz)
Single Speed (4 to 50 kHz)
Double Speed (50 to 100 kHz)
Quad Speed (100 to 192 kHz)
48 96 192
256x 384x 512x 128x 192x 256x 64x 96x 128x 12.2880 18.4320 24.5760 12.2880 18.4320 24.5760 12.2880 18.4320 24.5760 Table 1. Common OMCK Clock Frequencies
4.5.3
Master Mode
In master mode, the serial interface timings are derived from an external clock attached to OMCK or the output of the PLL with an input reference to either the S/PDIF Receiver recovered clock or the SAI_LRCK input from the Serial Audio Interface Port. Master clock selection and operation is configured with the SW_CTRL1:0 bits in the Clock Control Register (See "Clock Control (address 06h)" on page 52). The supported PLL output frequencies are shown in Table 2 below.
Sample Rate (kHz) PLL Output (MHz)
Single Speed (4 to 50 kHz)
256x 8.1920 11.2896 12.2880 -
Double Speed (50 to 100 kHz)
256x 16.3840 22.5792 24.5760 -
Quad Speed (100 to 192 kHz)
256x 45.1584 49.1520
32 44.1 48 64 88.2 96 176.4 192
Table 2. Common PLL Output Clock Frequencies
4.5.4
Slave Mode
In Slave mode, CX_LRCK, CX_SCLK and/or SAI_LRCK, SAI_SCLK operate as inputs. The Left/Right clock signal must be equal to the sample rate, Fs, and must be synchronously derived from the supplied master clock, OMCK or the output of the PLL. The serial bit clock, CX_SCLK and/or SAI_SCLK, must be synchronously derived from the master clock and be equal to 128x, 64x, 48x or 32x Fs depending on the interface format selected and desired speed mode. One Line Mode #1 is supported in Slave Mode. One Line Mode #2 is not supported. Refer to Table 3 for required clock ratios. The sample rate to OMCK ratios and OMCK frequency requirements for Slave mode operation are shown in Table 1.
Single Speed OMCK/LRCK Ratio 256x, 384x, 512x Double Speed 128x, 192x, 256x Quad Speed 64x, 96x, 128x One Line Mode #1 256x
Table 3. Slave Mode Clock Ratios
26
DS585PP5
CS42526
Single Speed SCLK/LRCK Ratio 32x, 48x, 64x, 128x Double Speed 32x, 48x, 64x Quad Speed 32x, 48x, 64x One Line Mode #1 128x
Table 3. Slave Mode Clock Ratios
4.6 4.6.1
Digital Interfaces Serial Audio Interface Signals
The CS42526 interfaces to an external Digital Audio Processor via two independent serial ports, the CODEC serial port, CODEC_SP and the Serial Audio Interface serial port, SAI_SP. The digital output of the internal ADCs can be configured to use either the CX_SDOUT pin or the SAI_SDOUT pin and the corresponding serial port clocking signals. These configuration bits and the selection of Single, Double or Quad-Speed mode for CODEC_SP and SAI_SP are found in register "Functional Mode (address 03h)" on page 48. The serial interface clocks, SAI_SCLK for SAI_SP and CX_SCLK for CODEC_SP, are used for transmitting and receiving audio data. Either SAI_SCLK or CX_SCLK can be generated by the CS42526 (master mode) or it can be input from an external source (slave mode). Master or Slave mode selection is made using bits CODEC_SP M/S and SAI_SP M/S in register "Misc Control (address 05h)" on page 51. The Left/Right clock (SAI_LRCK or CX_LRCK) is used to indicate left and right data frames and the start of a new sample period. It may be an output of the CS42526 (master mode), or it may be generated by an external source (slave mode). As described in later sections, particular modes of operation do allow the sample rate, Fs, of the SAI_SP and the CODEC_SP to be different, but must be multiples of each other. The serial data interface format selection (left/right justified, I2S or one line mode) for the Serial Audio Interface serial port data out pin, SAI_SDOUT, the CODEC serial port data out pin, CX_SDOUT, and the CODEC input pins, CX_SDIN1:3, is configured using the appropriate bits in the register "Interface Formats (address 04h)" on page 49. The serial audio data is presented in 2's complement binary form with the MSB first in all formats. CX_SDIN1, CX_SDIN2, and CX_SDIN3 are the serial data input pins supplying the associated internal DAC. CX_SDOUT, the ADC data output pin, carries data from the two internal 24-bit ADCs and, when configured for one-line mode, up to four additional ADC channels attached externally to the signals ADCIN1 and ADCIN2 (typically two CS5361 stereo ADCs). When operated in One Line Mode, 6 channels of DAC data are input on CX_SDIN1 and 6 channels of ADC data are output on CX_SDOUT. Table 4 outlines the serial port channel allocations.
Serial Inputs / Outputs left channel DAC #1 right channel DAC #2 one line mode DAC channels 1,2,3,4,5,6 left channel DAC #3 right channel DAC #4 one line mode not used left channel DAC #5 right channel DAC #6 one line mode not used
CX_SDIN1
CX_SDIN2
CX_SDIN3
Table 4. Serial Audio Port Channel Allocations
DS585PP5
27
CS42526
Serial Inputs / Outputs left channel ADC #1 right channel ADC #2 one line mode ADC channels 1,2,3,4,5,6 SAI_SDOUT left channel S/PDIF Left or ADC #1 right channel S/PDIF Right or ADC #2 one line mode ADC channels 1,2,3,4,5,6 ADCIN1 left channel External ADC #3 right channel External ADC #4 ADCIN2 left channel External ADC #5 right channel External ADC #6 CX_SDOUT
Table 4. Serial Audio Port Channel Allocations
28
DS585PP5
CS42526
4.6.2 Serial Audio Interface Formats
The CODEC_SP and SAI_SP digital audio serial ports support 5 formats with varying bit depths from 16 to 24 as shown in Figures 10 to 14. These formats are selected using the configuration bits in the registers, "Functional Mode (address 03h)" on page 48 and "Interface Formats (address 04h)" on page 49. For the diagrams below, single-speed mode is equivalent to Fs = 32, 44.1, 48 kHz; double-speed mode is for Fs = 64, 88.2, 96 kHz; and quad-speed mode is for Fs = 176.4, 196 kHz.
CX_LRCK SAI_LRCK CX_SCLK SAI_SCLK CX_SDINx CX_SDOUT SAI_SDOUT
MSB
Left Channel
Right Channel
-1 -2 -3 -4 -5
+5 +4 +3 +2 +1
LSB
MSB
-1 -2 -3 -4
+5 +4 +3 +2 +1 LSB
I2S Mode, Data Valid on Rising Edge of SCLK Bits/Sample Master 16 64 64 Fs 64 Fs 18 to 24 64, 128, 256 Fs 64 Fs 64 Fs 64 Fs 64 Fs 48, 64, 128 Fs 48, 64 Fs 48, 64 Fs SCLK Rate(s) Slave 48, 64, 128 Fs single-speed mode double-speed mode quad-speed mode single-speed mode double-speed mode quad-speed mode Notes
Figure 10. I2S Serial Audio Formats
DS585PP5
29
CS42526
CX_LRCK SAI_LRCK CX_SCLK SAI_SCLK CX_SDINx CX_SDOUT SAI_SDOUT
MSB
Left Channel
Right Channel
-1 -2 -3 -4 -5
+5 +4 +3 +2 +1
LSB
MSB
-1 -2 -3 -4
+5 +4 +3 +2 +1
LSB
Left Justified Mode, Data Valid on Rising Edge of SCLK Bits/Sample Master 16 64 64 Fs 64 Fs 18 to 24 64, 128, 256 Fs 64 Fs 64 Fs SCLK Rate(s) Slave 32, 48, 64, 128 Fs 32, 64 Fs 32, 64 Fs 48, 64, 128 Fs 48, 64 Fs 48, 64 Fs single-speed mode double-speed mode quad-speed mode single-speed mode double-speed mode quad-speed mode Notes
Figure 11. Left Justified Serial Audio Formats
CX_LRCK SAI_LRCK CX_SCLK SAI_SCLK CX_SDINx CX_SDOUT SAI_SDOUT
Left Channel
Right Channel
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Right Justified Mode, Data Valid on Rising Edge of SCLK Bits/Sample Master 16 64 64 Fs 64 Fs 24 64, 128, 256 Fs 64 Fs 64 Fs SCLK Rate(s) Slave 32, 48, 64, 128 Fs 32, 64 Fs 32, 64 Fs 48, 64, 128 Fs 48, 64 Fs 48, 64 Fs single-speed mode double-speed mode quad-speed mode single-speed mode double-speed mode quad-speed mode Notes
Figure 12. Right Justified Serial Audio Formats
30
DS585PP5
CS42526
CX_LRCK SAI_LRCK CX_SCLK SAI_SCLK CX_SDIN1 64 clks 64 clks
Left Channel
Right Channel
MSB DAC1
LSB MSB DAC3
LSB MSB DAC5
LSB
MSB DAC2
LSB MSB DAC4
LSB MSB DAC6
LSB
MSB
20 clks
20 clks
20 clks
20 clks
20 clks
20 clks
CX_SDOUT SAI_SDOUT
ADC1 20 clks
ADC3 20 clks
ADC5 20 clks
ADC2 20 clks
ADC4 20 clks
ADC6 20 clks
One Line Data Mode #1, Data Valid on Rising Edge of SCLK
Bits/Sample Master 20 128 Fs 128 Fs
SCLK Rate(s) Slave 128 Fs 128 Fs
Notes single-speed mode double-speed mode
Figure 13. One Line Mode #1 Serial Audio Format
128 clks CX_LRCK SAI_LRCK CX_SCLK SAI_SCLK CX_SDIN1
128 clks
Left Channel
Right Channel
MSB DAC1
LSB MSB DAC3
LSB MSB DAC5
LSB
MSB DAC2
LSB MSB DAC4
LSB MSB DAC6
LSB
MSB
24 clks
24 clks
24 clks
24 clks
24 clks
24 clks
CX_SDOUT SAI_SDOUT
ADC1 24 clks
ADC3 24 clks
ADC5 24 clks
ADC2 24 clks
ADC4 24 clks
ADC6 24 clks
One Line Data Mode #2, Data Valid on Rising Edge of SCLK
Bits/Sample Master 24 256 Fs
SCLK Rate(s) Slave not supported
Notes single-speed mode
Figure 14. One Line Mode #2 Serial Audio Format
DS585PP5
31
CS42526
4.6.3 ADCIN1/ADCIN2 Serial Data Format
The two serial data lines which interface to the optional external ADCs, ADCIN1 and ADCIN2, support only left-justified, 24-bit samples at 64Fs or 128Fs. This interface is not affected by any of the serial port configuration register bit settings. These serial data lines are used when supporting One Line Mode of operation with external ADCs attached. If these signals are not being used, they should be tied together and wired to GND via a pull-down resistor.
CX_LRCK SAI_LRCK CX_SCLK SAI_SCLK ADCIN1/2
MSB
Left Channel
Right Channel
-1 -2 -3 -4 -5
+5 +4 +3 +2 +1
LSB
MSB
-1 -2 -3 -4
+5 +4 +3 +2 +1
LSB
Left Justified Mode, Data Valid on Rising Edge of SCLK Bits/Sample SCLK Rate(s) Notes
24
64, 128 Fs 64 Fs not supported
single-speed mode, Fs= 32, 44.1, 48 kHz double-speed mode, Fs= 64, 88.2, 96 kHz quad-speed mode, Fs= 176.4, 192 kHz
Figure 15. ADCIN1/ADCIN2 Serial Audio Format
For proper operation, the CS42526 must be configured to select which SCLK/LRCK is being used to clock the external ADCs. The EXT ADC SCLK bit in register "Misc Control (address 05h)" on page 51, must be set accordingly. Set this bit to `1' if the external ADCs are wired using the CODEC_SP clocks. If the ADCs are wired to use the SAI_SP clocks, set this bit to `0'.
32
DS585PP5
CS42526
4.6.4 4.6.4a One Line Mode(OLM) Configurations OLM Config #1
One Line Mode Configuration #1 can support up to 6 channels of DAC data, 6 channels of ADC data and 2 channels of S/PDIF received data. This is the only configuration which will support up to 24-bit samples at a sampling frequency of 48 kHz on all channels for both the DAC and ADC.
Register / Bit Settings
Functional Mode Register (addr = 03h) Set CODEC_FMx = SAI_FMx = 00,01,10 Set ADC_SP SELx = 00 Interface Format Register (addr = 04h) Set DIFx bits to proper serial format Set ADC_OLx bits = 00,01,10 Set DAC_OLx bits = 00,01,10 Misc. Control Register (addr = 05h) Set CODEC_SP M/S = 1 Set SAI_SP M/S = 1 Set EXT ADC SCLK = 0
Description
CX_LRCK must equal SAI_LRCK; sample rate conversion not supported Configure ADC data on CX_SDOUT, S/PDIF data on SAI_SDOUT
Select the digital interface format when not in one line mode Select ADC operating mode, see table below for valid combinations Select DAC operating mode, see table below for valid combinations
Configure CODEC Serial Port to master mode. Configure Serial Audio Interface Port to master mode. Identify external ADC clock source as SAI Serial Port.
DAC Mode Not One Line Mode One Line Mode #1 One Line Mode #2
CX_SCLK=64 Fs Not One CX_LRCK=SSM/DSM/QSM Line Mode SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK
ADC Mode One Line Mode #1
CX_SCLK=128 Fs CX_LRCK=SSM/DSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK CX_SCLK=128 Fs CX_LRCK=SSM/DSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK not valid
not valid
CX_SCLK=128 Fs CX_LRCK=SSM/DSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK CX_SCLK=256 Fs CX_LRCK=SSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK
not valid
One Line Mode #2
CX_SCLK=256 Fs CX_LRCK=SSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK
MCLK LRCK SCLK MCLK SDOUT1 SDOUT2 RMCK ADCIN1 ADCIN2 SAI_SCLK SAI_LRCK SAI_SDOUT CX_SCLK CX_LRCK CX_SDOUT
64Fs,128Fs, 256Fs SPDIF Data 64Fs
SCLK_PORT1 LRCK_PORT1 SDIN_PORT1 SCLK_PORT2 LRCK_PORT2 SDIN_PORT2 SCLK_PORT3 LRCK_PORT3
CS5361 CS5361
ADC Data
CX_SDIN1 CX_SDIN2 CX_SDIN3
SDOUT1_PORT3 SDOUT2_PORT3 SDOUT3_PORT3
CS42526
Figure 16. OLM Configuration #1
DIGITAL AUDIO PROCESSOR
DS585PP5
33
CS42526
4.6.4b OLM Config #2
This configuration will support up to 6 channels of DAC data, 6 channels of ADC data and no channels of S/PDIF received data and will handle up to 20-bit samples at a sampling frequency of 96 kHz on all channels for both the DAC and ADC. The output data stream of the internal and external ADCs is configured to use the SAI_SDOUT output and run at the SAI_SP clock speeds.
Register / Bit Settings
Functional Mode Register (addr = 03h) Set CODEC_FMx = SAI_FMx = 00,01,10 Set ADC_SP SELx = 10 Interface Format Register (addr = 04h) Set DIFx bits to proper serial format Set ADC_OLx bits = 00,01,10 Set DAC_OLx bits = 00,01 Misc. Control Register (addr = 05h) Set CODEC_SP M/S = 1 Set SAI_SP M/S = 1 Set EXT ADC SCLK = 1
Description
CX_LRCK must equal SAI_LRCK; sample rate conversion not supported Configure ADC data to use SAI_SDOUT and SAI_SP Clocks. S/PDIF data is not supported in this configuration
Select the digital interface format when not in one line mode Select ADC operating mode, see table below for valid combinations Select DAC operating mode, see table below for valid combinations
Set CODEC Serial Port to master mode. Set Serial Audio Interface Port to master mode. Identify external ADC clock source as CODEC Serial Port.
CX_SDOUT= not used SAI_SDOUT=ADC Data
DAC Mode Not One Line Mode One Line Mode #1 One Line Mode #2
CX_SCLK=64 Fs Not One CX_LRCK=SSM/DSM/QSM Line Mode SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK
ADC Mode One Line Mode #1
CX_SCLK=128 Fs CX_LRCK=SSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK CX_SCLK=128 Fs CX_LRCK=SSM SAI_SCLK=128 Fs SAI_LRCK=CX_LRCK not valid
not valid
CX_SCLK=64 Fs CX_LRCK=SSM/DSM SAI_SCLK=128 Fs SAI_LRCK=CX_LRCK CX_SCLK=64 Fs CX_LRCK=SSM SAI_SCLK=256 Fs SAI_LRCK=CX_LRCK
not valid
One Line Mode #2
not valid
MCLK LRCK SCLK MCLK SDOUT1 SDOUT2 RMCK ADCIN1 ADCIN2 SAI_SCLK SAI_LRCK SAI_SDOUT CX_SCLK CX_LRCK CX_SDOUT
64Fs,128Fs 64Fs,128Fs, 256Fs
SCLK_PORT1 LRCK_PORT1 SDIN_PORT1 SCLK_PORT2 LRCK_PORT2 SDIN_PORT2 SCLK_PORT3 LRCK_PORT3
ADC Data
CS5361 CS5361
CX_SDIN1 CX_SDIN2 CX_SDIN3
SDOUT1_PORT3 SDOUT2_PORT3 SDOUT3_PORT3
CS42526
Figure 17. OLM Configuration #2
DIGITAL AUDIO PROCESSOR
34
DS585PP5
CS42526
4.6.4c OLM Config #3
This One Line Mode configuration #3 will support up to 6 channels of DAC data, 6 channels of ADC data and 2 channels of S/PDIF received data and will handle up to 20-bit samples at a sampling frequency of 48kHz on all channels for both the DAC and ADC. The output data stream of the internal and external ADCs is configured to use the CX_SDOUT output and run at the CODEC_SP clock speeds. One Line Mode #2, which supports 24-bit samples, is not supported by this configuration.
Register / Bit Settings
Functional Mode Register (addr = 03h) Set CODEC_FMx = SAI_FMx = 00,01,10 Set ADC_SP SELx = 00 Interface Format Register (addr = 04h) Set DIFx bits to proper serial format Set ADC_OLx bits = 00,01 Set DAC_OLx bits = 00,01 Misc. Control Register (addr = 05h) Set CODEC_SP M/S = 1 Set SAI_SP M/S = 0 or 1 Set EXT ADC SCLK = 1
Description
CX_LRCK must equal SAI_LRCK; sample rate conversion not supported Configure ADC data to use CX_SDOUT and CODEC_SP Clocks. S/PDIF data is supported on SAI_SDOUT
Select the digital interface format when not in one line mode Select ADC operating mode, see table below for valid combinations Select DAC operating mode, see table below for valid combinations
Set CODEC Serial Port to master mode. Set Serial Audio Interface Port to master mode or slave mode. Identify external ADC clock source as CODEC Serial Port.
CX_SDOUT= ADC Data SAI_SDOUT=S/PDIF Data
DAC Mode Not One Line Mode One Line Mode #1 One Line Mode #2
CX_SCLK=64 Fs Not One CX_LRCK=SSM/DSM/QSM Line Mode SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK
ADC Mode One Line Mode #1 One Line Mode #2
CX_SCLK=128 Fs CX_LRCK=SSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK CX_SCLK=128 Fs CX_LRCK=SSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK not valid
not valid
CX_SCLK=128 Fs CX_LRCK=SSM SAI_SCLK=64 Fs SAI_LRCK=CX_LRCK not valid
not valid
not valid
MCLK LRCK SCLK MCLK SDOUT1 SDOUT2 SAI_SCLK RMCK ADCIN1 ADCIN2 SAI_LRCK SAI_SDOUT CX_SCLK CX_LRCK CX_SDOUT
64Fs
SCLK_PORT1 LRCK_PORT1 SDIN_PORT1 SCLK_PORT2 LRCK_PORT2 SDIN_PORT2 SCLK_PORT3 LRCK_PORT3
SPDIF Data 64Fs,128Fs
CS5361 CS5361
ADC Data
CX_SDIN1 CX_SDIN2 CX_SDIN3
SDOUT1_PORT3 SDOUT2_PORT3 SDOUT3_PORT3
CS42526
Figure 18. OLM Configuration #3
DIGITAL AUDIO PROCESSOR
DS585PP5
35
CS42526
4.6.4d OLM Config #4
This configuration will support up to 6 channels of DAC data, 6 channels of ADC data and no channels of S/PDIF received data. OLM Config #4 will handle up to 20-bit ADC samples at an Fs of 48 kHz and 24-bit DAC samples at an Fs of 48 kHz. Since the ADCs data stream is configured to use the SAI_SDOUT output and the internal and external ADCs are clocked from the SAI_SP, then the sample rate for the CODEC Serial Port can be different from the sample rate of the Serial Audio Interface serial port.
Register / Bit Settings
Functional Mode Register (addr = 03h) Set CODEC_FMx = 00,01,10 Set SAI_FMx = 00,01,10 Set ADC_SP SELx = 10 Interface Format Register (addr = 04h) Set DIFx bits to proper serial format Set ADC_OLx bits = 00,01 Set DAC_OLx bits = 00,01,10 Misc. Control Register (addr = 05h) Set CODEC_SP M/S = 1 Set SAI_SP M/S = 0 or 1 Set EXT ADC SCLK = 0
Description
CX_LRCK can run at SSM, DSM, or QSM independent of SAI_LRCK SAI_LRCK can run at SSM, DSM, or QSM independent of CX_LRCK Configure ADC data to use SAI_SDOUT and SAI_SP Clocks. S/PDIF data is not supported in this configuration
Select the digital interface format when not in one line mode Select ADC operating mode, see table below for valid combinations Select DAC operating mode, see table below for valid combinations
Set DAC Serial Port to master mode. Set ADC Serial Port to master mode or slave mode. Identify external ADC clock source as SAI Serial Port.
CX_SDOUT= not used SAI_SDOUT=ADC Data
DAC Mode Not One Line Mode One Line Mode #1 One Line Mode #2
CX_SCLK=64 Fs Not One CX_LRCK=SSM/DSM/QSM Line Mode SAI_SCLK=64 Fs SAI_LRCK=SSM/DSM/QSM
ADC Mode One Line Mode #1 One Line Mode #2
CX_SCLK=128 Fs CX_LRCK=SSM/DSM SAI_SCLK=64 Fs SAI_LRCK=SSM/DSM/QSM CX_SCLK=128 Fs CX_LRCK=SSM/DSM SAI_SCLK=128 Fs SAI_LRCK=SSM not valid
CX_SCLK=256 Fs CX_LRCK=SSM SAI_SCLK=64 Fs SAI_LRCK=SSM/DSM/QSM CX_SCLK=256 Fs CX_LRCK=SSM SAI_SCLK=128 Fs SAI_LRCK=SSM not valid
CX_SCLK=64 Fs CX_LRCK=SSM/DSM/QSM SAI_SCLK=128 Fs SAI_LRCK=SSM not valid
MCLK
64Fs,128Fs
LRCK SCLK MCLK SDOUT1 SDOUT2 RMCK ADCIN1 ADCIN2
SAI_SCLK SAI_LRCK SAI_SDOUT CX_SCLK CX_LRCK CX_SDOUT
64Fs,128Fs,256Fs ADC Data
SCLK_PORT1 LRCK_PORT1 SDIN_PORT1 SCLK_PORT2 LRCK_PORT2 SDIN_PORT2 SCLK_PORT3 LRCK_PORT3
CS5361 CS5361
CX_SDIN1 CX_SDIN2 CX_SDIN3
SDOUT1_PORT3 SDOUT2_PORT3 SDOUT3_PORT3
CS42526
Figure 19. OLM Configuration #4
DIGITAL AUDIO PROCESSOR
36
DS585PP5
CS42526
4.6.4e OLM Config #5
This One-Line Mode configuration can support up to 6 channels of DAC data, 2 channels of ADC data and 2 channels of S/PDIF received data and will handle up to 24-bit samples at a sampling frequency of 48 kHz on all channels for both the DAC and ADC. The output data stream of the internal ADCs can be configured to use the CX_SDOUT output and run at the CODEC_SP clock speeds or to use the SAI_SDOUT data output and run at the SAI_SP rate. The CODEC_SP and SAI_SP can operate at different Fs rates.
Register / Bit Settings
Functional Mode Register (addr = 03h) Set CODEC_FMx = 00,01,10 Set SAI_FMx = 00,01,10 Set ADC_SP SELx = 00,01,10 Interface Format Register (addr = 04h) Set DIFx bits to proper serial format Set ADC_OLx bits = 00 Set DAC_OLx bits = 00,01 Misc. Control Register (addr = 05h) Set CODEC_SP M/S = 0 or 1 Set SAI_SP M/S = 0 or 1 Set EXT ADC SCLK = 0
Description
CX_LRCK can run at SSM, DSM, or QSM independent of SAI_LRCK SAI_LRCK can run at SSM, DSM, or QSM independent of CX_LRCK Configure ADC data to use CX_SDOUT and CODEC_SP clocks, or SAI_SDOUT and SAI_SP cocks.
Select the digital interface format when not in one line mode Set ADC operating mode to Not One Line Mode since only 2 channels of ADC are supported Select DAC operating mode, see table below for valid combinations
Set CODEC Serial Port to master mode or slave mode. Set Serial Audio Interface Port to master mode or slave mode. External ADCs are not used. Leave bit in default state.
CX_SDOUT= ADC Data SAI_SDOUT=ADC or S/PDIF Data
DAC Mode Not One Line Mode One Line Mode #1 One Line Mode #2
ADC Mode
CX_SCLK=64 Fs Not One CX_LRCK=SSM/DSM/QSM Line Mode SAI_SCLK=64 Fs SAI_LRCK=SSM/DSM/QSM
One Line Mode #1 One Line Mode #2
CX_SCLK=128 Fs CX_LRCK=SSM/DSM SAI_SCLK=64 Fs SAI_LRCK=SSM/DSM/QSM not valid not valid
not valid
not valid not valid
not valid not valid
MCLK
64Fs,128Fs, 256Fs
SAI_SCLK SAI_LRCK RMCK ADCIN1 ADCIN2 SAI_SDOUT
64Fs,128Fs, 256Fs SPDIF or ADC Data
SCLK_PORT1 LRCK_PORT1 SDIN_PORT1 SCLK_PORT2 LRCK_PORT2 SDIN_PORT2 SCLK_PORT3 LRCK_PORT3
CX_SCLK CX_LRCK CX_SDOUT
ADC Data
CX_SDIN1 CX_SDIN2 CX_SDIN3
SDOUT1_PORT3 SDOUT2_PORT3 SDOUT3_PORT3
CS42526
DIGITAL AUDIO PROCESSOR
Figure 20. OLM Configuration #5
DS585PP5
37
CS42526
4.7 Control Port Description and Timing
The control port is used to access the registers, allowing the CS42526 to be configured for the desired operational modes and formats. The operation of the control port may be completely asynchronous with respect to the audio sample rates. However, to avoid potential interference problems, the control port pins should remain static if no operation is required. The control port has 2 modes: SPI and I2C, with the CS42526 acting as a slave device. SPI mode is selected if there is a high to low transition on the AD0/CS pin, after the RST pin has been brought high. I2C mode is selected by connecting the AD0/CS pin through a resistor to VLC or DGND, thereby permanently selecting the desired AD0 bit address state.
4.7.1
SPI Mode
In SPI mode, CS is the CS42526 chip select signal, CCLK is the control port bit clock (input into the CS42526 from the microcontroller), CDIN is the input data line from the microcontroller, CDOUT is the output data line to the microcontroller. Data is clocked in on the rising edge of CCLK and out on the falling edge. Figure 21 shows the operation of the control port in SPI mode. To write to a register, bring CS low. The first seven bits on CDIN form the chip address and must be 1001111. The eighth bit is a read/write indicator (R/W), which should be low to write. The next eight bits form the Memory Address Pointer (MAP), which is set to the address of the register that is to be updated. The next eight bits are the data which will be placed into the register designated by the MAP. During writes, the CDOUT output stays in the Hi-Z state. It may be externally pulled high or low with a 47 k resistor, if desired. There is a MAP auto increment capability, enabled by the INCR bit in the MAP register. If INCR is a zero, the MAP will stay constant for successive read or writes. If INCR is set to a 1, the MAP will autoincrement after each byte is read or written, allowing block reads or writes of successive registers. To read a register, the MAP has to be set to the correct address by executing a partial write cycle which finishes (CS high) immediately after the MAP byte. The MAP auto increment bit (INCR) may be set or not, as desired. To begin a read, bring CS low, send out the chip address and set the read/write bit (R/W) high. The next falling edge of CCLK will clock out the MSB of the addressed register (CDOUT will leave the high impedance state). If the MAP auto increment bit is set to 1, the data for successive registers will appear consecutively.
CS
CC LK C H IP ADDRESS C D IN 1001111 R/W C H IP ADDRESS LSB b y te n MSB LSB MSB LSB
MAP MSB
DATA
1001111
R/W
b y te 1 High Impedance CDOUT
MAP = Memory Address Pointer, 8 bits, MSB first
Figure 21. Control Port Timing in SPI Mode
38
DS585PP5
CS42526
4.7.2 I2C Mode
In I2C mode, SDA is a bidirectional data line. Data is clocked into and out of the part by the clock, SCL. There is no CS pin. Pins AD0 and AD1 form the two least significant bits of the chip address and should be connected through a resistor to VLC or DGND as desired. The state of the pins is sensed while the CS42526 is being reset. The signal timings for a read and write cycle are shown in Figure 22 and Figure 23. A Start condition is defined as a falling transition of SDA while the clock is high. A Stop condition is a rising transition while the clock is high. All other transitions of SDA occur while the clock is low. The first byte sent to the CS42526 after a Start condition consists of a 7 bit chip address field and a R/W bit (high for a read, low for a write). The upper 5 bits of the 7-bit address field are fixed at 10011. To communicate with a CS42526, the chip address field, which is the first byte sent to the CS42526, should match 10011 followed by the settings of the AD1 and AD0. The eighth bit of the address is the R/W bit. If the operation is a write, the next byte is the Memory Address Pointer (MAP) which selects the register to be read or written. If the operation is a read, the contents of the register pointed to by the MAP will be output. Setting the auto increment bit in MAP allows successive reads or writes of consecutive registers. Each byte is separated by an acknowledge bit. The ACK bit is output from the CS42526 after each input byte is read, and is input to the CS42526 from the microcontroller after each transmitted byte.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 24 25 26 27 28
SCL
CHIP ADDRESS (WRITE) MAP BYTE
INCR
DATA
2 1 0 7 6 1 0 7
DATA +1
6 1 0 7
DATA +n
6 1 0
SDA
START
1
0
0
1
1 AD1 AD0 0
6
5
4
3
ACK
ACK
ACK
ACK STOP
Figure 22. Control Port Timing, I2C Write
0
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16
17 18
19
20 21 22 23 24 25 26 27 28
SCL
CHIP ADDRESS (WRITE) MAP BYTE
INCR
STOP
1 0 1
CHIP ADDRESS (READ)
0 0 1 1 AD1 AD0 1
DATA
7 0
DATA +1
7 0
DATA + n
7 0
SDA
1
0
0
1
1 AD1 AD0 0
6
5
4
3
2
ACK START
ACK START
ACK
ACK
NO ACK
STOP
Figure 23. Control Port Timing, I2C Read
Since the read operation can not set the MAP, an aborted write operation is used as a preamble. As shown in Figure 23, the write operation is aborted after the acknowledge for the MAP byte by sending a stop condition. The following pseudocode illustrates an aborted write operation followed by a read operation. Send start condition. Send 10011xx0 (chip address & write operation). Receive acknowledge bit. Send MAP byte, auto increment off. Receive acknowledge bit.
DS585PP5 39
CS42526
Send stop condition, aborting write. Send start condition. Send 10011xx1(chip address & read operation). Receive acknowledge bit. Receive byte, contents of selected register. Send acknowledge bit. Send stop condition. Setting the auto increment bit in the MAP allows successive reads or writes of consecutive registers. Each byte is separated by an acknowledge bit.
4.8
Interrupts
The CS42526 has a comprehensive interrupt capability. The INT output pin is intended to drive the interrupt input pin on the host microcontroller. The INT pin may be set to be active low, active high or active low with no active pull-up transistor. This last mode is used for active low, wired-OR hook-ups, with multiple peripherals connected to the microcontroller interrupt input pin. Many conditions can cause an interrupt, as listed in the interrupt status register descriptions. See "Interrupt Status (address 20h) (Read Only)" on page 63. Each source may be masked off through mask register bits. In addition, each source may be set to rising edge, falling edge, or level sensitive. Combined with the option of level sensitive or edge sensitive modes within the microcontroller, many different configurations are possible, depending on the needs of the equipment designer.
4.9
Reset and Power-up
Reliable power-up can be accomplished by keeping the device in reset until the power supplies, clocks and configuration pins are stable. It is also recommended that reset be activated if the analog or digital supplies drop below the recommended operating condition to prevent power glitch related issues. When RST is low, the CS42526 enters a low power mode and all internal states are reset, including the control port and registers, and the outputs are muted. When RST is high, the control port becomes operational and the desired settings should be loaded into the control registers. Writing a 0 to the PDN bit in the Power Control Register will then cause the part to leave the low power state and begin operation. If the internal PLL is selected as the clock source, the serial audio outputs will be enabled after the PLL has settled. See "Power Control (address 02h)" on page 47 for more details. The delta-sigma modulators settle in a matter of microseconds after the analog section is powered, either through the application of power or by setting the RST pin high. However, the voltage reference will take much longer to reach a final value due to the presence of external capacitance on the FILT+ pin. A time delay of approximately 80ms is required after applying power to the device or after exiting a reset state. During this voltage reference ramp delay, all serial ports and DAC outputs will be automatically muted.
4.10
Power Supply, Grounding, and PCB layout
As with any high resolution converter, the CS42526 requires careful attention to power supply and grounding arrangements if its potential performance is to be realized. Figure shows the recommended power arrangements, with VA and VARX connected to clean supplies. VD, which powers the digital circuitry, may be run from the system logic supply. Alternatively, VD may be powered from the analog supply via a ferrite bead. In this case, no additional devices should be powered from VD. For applications where the output of the PLL is required to be low jitter, use a separate, low noise analog +5 V supply for VARX, decoupled to AGND. In addition, a separate region of analog ground plane around the FILT+, VQ, LPFLT, REFGND, AGND, VA, VARX, RXP/and RXP0 pins is recommended.
40 DS585PP5
CS42526
Extensive use of power and ground planes, ground plane fill in unused areas and surface mount decoupling capacitors are recommended. Decoupling capacitors should be as near to the pins of the CS42526 as possible. The low value ceramic capacitor should be the nearest to the pin and should be mounted on the same side of the board as the CS42526 to minimize inductance effects. All signals, especially clocks, should be kept away from the FILT+, VQ and LPFLT pins in order to avoid unwanted coupling into the modulators and PLL. The FILT+ and VQ decoupling capacitors, particularly the 0.1 F, must be positioned to minimize the electrical path from FILT+ and REFGND. The CDB42528 evaluation board demonstrates the optimum layout and power supply arrangements.
DS585PP5
41
CS42526
5. REGISTER QUICK REFERENCE
Addr Function
01h ID
page 46
7
Chip_ID3 1
6
Chip_ID2 1
5
Chip_ID1 1 PDN_ADC 0 SAI_FM1 0 ADC_OL1 0 Reserved 0 OMCK Freq1 0 RATIO5 X AES Format1 X PC0-5
4
Chip_ID0 1 Reserved 0 SAI_FM0 0 ADC_OL0 0 FREEZE 0 OMCK Freq0 0 RATIO4 X AES Format0 X PC0-4
3
Rev_ID3 X PDN_DAC3 0 ADC_SP SEL1 0 DAC_OL1 0 FILTSEL 0 PLL_LRCK 0 RATIO3 X
2
Rev_ID2 X PDN_DAC2 0 ADC_SP SEL0 0 DAC_OL0 0 HPF_ FREEZE 0 SW_CTRL1 0 RATIO2 X
1
Rev_ID1 X PDN_DAC1 0 DAC_DEM 0 SAI_RJ16 0 CODEC_SP M/S 0 SW_CTRL0 0 RATIO1 X
0
Rev_ID0 X PDN 1 RCVR_DEM 0 CODEC_RJ16 0 SAI_SP M/S 0 FRC_PLL_LK 0 RATIO0 X RVCR_CLK0 X PC0-0
default 02h Power Control
page 47
PDN_RCVR1 PDN_RCVR0 1 0
default 03h Functional Mode
page 46
CODEC_FM1 CODEC_FM0 0 DIF1 0 Ext ADC SCLK 0 RMCK_DIV1 0 RATIO7 X Digital Silence X PC0-7 0 DIF0 1 HiZ_RMCK 0 RMCK_DIV0 0 RATIO6 X AES Format2 X PC0-6
default 04h Interface Formats
page 49
default 05h Misc Control
page 51
default 06h Clock Control
page 52
default 07h OMCK/PLL_ CLK Ratio
page 54
default 08h RVCR Status
page 54
Active_CLK RVCR_CLK2 RVCR_CLK1 X PC0-3 X PC0-2 X PC0-1
default 09h Burst Preamble PC Byte 0
page 55
default 0Ah Burst Preamble PC Byte 1
page 55
X PC1-7
X PC1-6
X PC1-5
X PC1-4
X PC1-3
X PC1-2
X PC1-1
X PC1-0
default 0Bh Burst Preamble PD Byte 0
page 55
X PD0-7
X PD0-6
X PD0-5
X PD0-4
X PD0-3
X PD0-2
X PD0-1
X PD0-0
default 0Ch Burst Preamble PD Byte 1
page 55
X PD1-7
X PD1-6
X PD1-5
X PD1-4
X PD1-3
X PD1-2
X PD1-1
X PD1-0
default 0Dh Volume Control
page 56
X Reserved 0
X SNGVOL 0
X SZC1 0
X SZC0 0
X AMUTE 1
X MUTE SAI_SP 0
X RAMP_UP 0
X RAMP_DN 0
default
42
DS585PP5
CS42526
Addr Function
0Eh Channel Mute
page 58
7
Reserved 0 A1_VOL7 0 B1_VOL7 0 A2_VOL7 0 B2_VOL7 0 A3_VOL7 0 B3_VOL7 0 Reserved 0 Reserved 0 Reserved 0 P1_A=B 0 P2_A=B 0 P3_A=B 0 Reserved 0 Reserved 0
6
Reserved 0 A1_VOL6 0 B1_VOL6 0 A2_VOL6 0 B2_VOL6 0 A3_VOL6 0 B3_VOL6 0 Reserved 0 Reserved 0 Reserved 0 Reserved 0 Reserved 0 Reserved 0 Reserved 0 Reserved 0
5
B3_MUTE 0 A1_VOL5 0 B1_VOL5 0 A2_VOL5 0 B2_VOL5 0 A3_VOL5 0 B3_VOL5 0 Reserved 0 Reserved 0 INV_B3 0 Reserved 0 Reserved 0 Reserved 0 Reserved 0 LGAIN5 0
4
A3_MUTE 0 A1_VOL4 0 B1_VOL4 0 A2_VOL4 0 B2_VOL4 0 A3_VOL4 0 B3_VOL4 0 Reserved 0 Reserved 0 INV_A3 0 P1_ATAPI4 0 P2_ATAPI4 0 P3_ATAPI4 0 Reserved 0 LGAIN4 0
3
B2_MUTE 0 A1_VOL3 0 B1_VOL3 0 A2_VOL3 0 B2_VOL3 0 A3_VOL3 0 B3_VOL3 0 Reserved 0 Reserved 0 INV_B2 0 P1_ATAPI3 1 P2_ATAPI3 1 P3_ATAPI3 1 Reserved 1 LGAIN3 0
2
A2_MUTE 0 A1_VOL2 0 B1_VOL2 0 A2_VOL2 0 B2_VOL2 0 A3_VOL2 0 B3_VOL2 0 Reserved 0 Reserved 0 INV_A2 0 P1_ATAPI2 0 P2_ATAPI2 0 P3_ATAPI2 0 Reserved 0 LGAIN2 0
1
B1_MUTE 0 A1_VOL1 0 B1_VOL1 0 A2_VOL1 0 B2_VOL1 0 A3_VOL1 0 B3_VOL1 0 Reserved 0 Reserved 0 INV_B1 0 P1_ATAPI1 0 P2_ATAPI1 0 P3_ATAPI1 0 Reserved 0 LGAIN1 0
0
A1_MUTE 0 A1_VOL0 0 B1_VOL0 0 A2_VOL0 0 B2_VOL0 0 A3_VOL0 0 B3_VOL0 0 Reserved 0 Reserved 0 INV_A1 0 P1_ATAPI0 1 P2_ATAPI0 1 P3_ATAPI0 1 Reserved 1 LGAIN0 0
default 0Fh Vol. Control A1
page 58
default 10h Vol. Control B1
page 58
default 11h Vol. Control A2
page 58
default 12h Vol. Control B2
page 58
default 13h Vol. Control A3
page 58
default 14h Vol. Control B3
page 58
default 15h Reserved
page 58
default 16h Reserved
page 58
default 17h Channel Invert
page 58
default 18h Mixing Ctrl Pair 1
page 59
default 19h Mixing Ctrl Pair 2
page 59
default 1Ah Mixing Ctrl Pair 3
page 59
default 1Bh Reserved
page 59
default 1Ch ADC Left Ch. Gain
page 61
default
DS585PP5
43
CS42526
Addr Function
1Dh ADC Right Ch. Gain
page 61
7
Reserved 0 SP_SYNC 0 Reserved 0 UNLOCK X UNLOCKM 0 UNLOCK1 0 UNLOCK0 0 Reserved 0 AUX3 0 Reserved 0 Reserved 0 Reserved 0 Mode1 0 Mode1 0
6
Reserved 0 Reserved 0 TMUX2 0 Reserved X Reserved 0 Reserved 0 Reserved 0 LOCKM 1 AUX2 0 QCRC 0 QCRCM 0 Reserved 0 Mode0 0 Mode0 0
5
RGAIN5 0 DE-EMPH1 0 TMUX1 0 QCH X QCHM 0 QCH1 0 QCH0 0 Reserved 0 AUX1 0 CCRC 0 CCRCM 0 MCPolarity 0 Polarity 0 Polarity 0
4
RGAIN4 0 DE-EMPH0 0 TMUX0 0 DETC X DETCM 0 DETC1 0 DETC0 0 Reserved 0 AUX0 0 UNLOCK 0 UNLOCKM 0 M_AOUTA1 1 Function4 0 Function4 0
3
RGAIN3 0 INT1 0 Reserved 0 DETU X DETUM 0 DETU1 0 DETU0 0 Reserved 0 PRO 0 V 0 VM 0 M_AOUTB1 1 Function3 0 Function3 0
2
RGAIN2 0 INT0 0 RMUX2 0 Reserved X Reserved 0 Reserved 0 Reserved 0 BSEL 0 AUDIO 0 CONF 0 CONFM 0 M_AOUTA2 M_AOUTB2 1 Function2 0 Function2 0
1
RGAIN1 0 HOLD1 0 RMUX1 0 OverFlow X OverFlowM 0 OF1 0 OF0 0 CAM 0 COPY 0 BIP 0 BIPM 0 M_AOUTA3 M_AOUTB3 1 Function1 0 Function1 0
0
RGAIN0 0 HOLD0 0 RMUX0 0 RERR X RERRM 0 RERR1 0 RERR0 0 CHS 0 ORIG 0 PAR 0 PARM 0 Reserved 1 Function0 0 Function0 0
default 1Eh RCVR Mode Ctrl
page 61
default 1Fh RCVR Mode Ctrl 2
page 62
default 20h Interrupt Status
page 63
default 21h Interrupt Mask
page 64
default 22h Interrupt Mode MSB
page 64
default 23h Interrupt Mode LSB
page 64
default 24h Buffer Ctrl
page 65
default 25h RCVR CS Data
page 66
default 26h RCVR Errors
page 67
default 27h RCVR Errors Mask
page 68
default 28h MUTEC
page 68
default 29h RXP7/GPO 7
page 69
default 2Ah RXP6/GPO 6
page 69
default
44
DS585PP5
CS42526
Addr Function
2Bh RXP5/GPO 5
page 69
7
Mode1 0 Mode1 0 Mode1 0 Mode1 0 Mode1 0 Address3 X Track7 X Index7 X Minute7 X Second7 X Frame7 X Zero7 X A.Minute7 X A.Second7 X A.Frame7 X CU Buffer7 X
6
Mode0 0 Mode0 0 Mode0 0 Mode0 0 Mode0 0 Address2 X Track6 X Index6 X Minute6 X Second6 X Frame6 X Zero6 X A.Minute6 X A.Second6 X A.Frame6 X CU Buffer6 X
5
Polarity 0 Polarity 0 Polarity 0 Polarity 0 Polarity 0 Address1 X Track5 X Index5 X Minute5 X Second5 X Frame5 X Zero5 X A.Minute5 X A.Second5 X A.Frame5 X CU Buffer5 X
4
Function4 0 Function4 0 Function4 0 Function4 0 Function4 0 Address0 X Track4 X Index4 X Minute4 X Second4 X Frame4 X Zero4 X A.Minute4 X A.Second4 X A.Frame4 X CU Buffer4 X
3
Function3 0 Function3 0 Function3 0 Function3 0 Function3 0 Control3 X Track3 X Index3 X Minute3 X Second3 X Frame3 X Zero3 X A.Minute3 X A.Second3 X A.Frame3 X CU Buffer3 X
2
Function2 0 Function2 0 Function2 0 Function2 0 Function2 0 Control2 X Track2 X Index2 X Minute2 X Second2 X Frame2 X Zero2 X A.Minute2 X A.Second2 X A.Frame2 X CU Buffer2 X
1
Function1 0 Function1 0 Function1 0 Function1 0 Function1 0 Control1 X Track1 X Index1 X Minute1 X Second1 X Frame1 X Zero1 X A.Minute1 X A.Second1 X A.Frame1 X CU Buffer1 X
0
Function0 0 Function0 0 Function0 0 Function0 0 Function0 0 Control0 X Track0 X Index0 X Minute0 X Second0 X Frame0 X Zero0 X A.Minute0 X A.Second0 X A.Frame0 X CU Buffer0 X
default 2Ch RXP4/GPO 4
page 69
default 2Dh RXP3/GPO 3
page 69
default 2Eh RXP2/GPO 2
page 69
default 2Fh RXP1/GPO 1
page 69
default 30h Q Subcode
page 71
default 31h Q Subcode
page 71
default 32h Q Subcode
page 71
default 33h Q Subcode
page 71
default 34h Q Subcode
page 71
default 35h Q Subcode
page 71
default 36h Q Subcode
page 71
default 37h Q Subcode
page 71
default 38h Q Subcode
page 71
default 39h Q Subcode
page 71
default 3Ah - C or U Data Buffer 51h
page 71
default
DS585PP5
45
CS42526
6. REGISTER DESCRIPTION
All registers are read/write except for the I.D. and Revision Register, OMCK/PLL_CLK Ratio Register, Interrupt Status Register, and Q-Channel Subcode Bytes and C-bit or U-bit Data Buffer, which are read only. See the following bit definition tables for bit assignment information. The default state of each bit after a power-up sequence or reset is listed in each bit description.
6.1
Memory Address Pointer (MAP)
Not a register
7
INCR
6
MAP6
5
MAP5
4
MAP4
3
MAP3
2
MAP2
1
MAP1
0
MAP0
6.1.1
INCREMENT(INCR) Default = 1 Function: Memory address pointer auto increment control 0 - MAP is not incremented automatically. 1 - Internal MAP is automatically incremented after each read or write.
6.1.2
MEMORY ADDRESS POINTER (MAPX) Default = 0000001 Function: Memory address pointer (MAP). Sets the register address that will be read or written by the control port.
6.2
Chip I.D. and Revision Register (address 01h) (Read Only)
6 Chip_ID2 5 Chip_ID1 4 CHIP_ID0 3 Rev_ID3 2 Rev_ID2 1 Rev_ID1 0 Rev_ID0
7 Chip_ID3
6.2.1
CHIP I.D. (CHIP_IDX) Default = 1111 Function: I.D. code for the CS42526. Permanently set to 1111.
6.2.2
CHIP REVISION (REV_IDX) Default = 0100 Function: CS42526 revision level. Revision D is coded as 0100. Revision C is coded as 0011.
46
DS585PP5
CS42526
6.3
7
PDN_RCVR1
Power Control (address 02h)
6
PDN_RCVR0
5
PDN_ADC
4
Reserved
3
PDN_DAC3
2
PDN_DAC2
1
PDN_DAC1
0
PDN
6.3.1
POWER DOWN RECEIVER (PDN_RCVRX) Default = 10 00 - Receiver and PLL in normal operational mode. 01 - Receiver and PLL held in a reset state. Equivalent to setting 11. 10 - Reserved. 11 - Receiver and PLL held in a reset state. Equivalent to setting 01. Function: Places the S/PDIF receiver and PLL in a reset state. It is advised that any change of these bits be made while the DACs are muted or the power down bit (PDN) is enabled to eliminate the possibility of audible artifacts. It should be noted that, for Revision C compatibility, PDN_RCVR1 may be set to `0' and receiver operation may be controlled with the PDN_RCVR0 bit.
6.3.2
POWER DOWN ADC (PDN_ADC) Default = 0 Function: When enabled the stereo analog to digital converter will remain in a reset state. It is advised that any change of this bit be made while the DACs are muted or the power down bit (PDN) is enabled to eliminate the possibility of audible artifacts.
6.3.3
POWER DOWN RESERVE TEST (PDN_RSVD) Default = 0 Function: This bit is a reserved power down bit used for test purposes only. For proper operation, this bit must be set to `1'.
6.3.4
POWER DOWN DAC PAIRS (PDN_DACX) Default = 0 Function: When enabled the respective DAC channel pair x (AOUTAx and AOUTBx) will remain in a reset state.
6.3.5
POWER DOWN (PDN) Default = 1 Function: The entire device will enter a low-power state when this function is enabled, and the contents of the control registers are retained in this mode. The power down bit defaults to `enabled' on power-up and must be disabled before normal operation can occur.
DS585PP5
47
CS42526
6.4
7
CODEC_FM1
Functional Mode (address 03h)
6
CODEC_FM0
5
SAI_FM1
4
SAI_FM0
3
ADC_SP SEL1
2
ADC_SP SEL0
1
DAC_DEM
0
RCVR_DEM
6.4.1
CODEC FUNCTIONAL MODE (CODEC_FMX) Default = 00 00 - Single-Speed Mode (4 to 50 kHz sample rates) 01 - Double-Speed Mode (50 to 100 kHz sample rates) 10 - Quad-Speed Mode (100 to 192 kHz sample rates) 11 - Reserved Function: Selects the required range of sample rates for all converters clocked from the Codec serial port (CODEC_SP). Bits must be set to the corresponding sample rate range when the CODEC_SP is in Master or Slave mode.
6.4.2
SERIAL AUDIO INTERFACE FUNCTIONAL MODE (SAI_FMX) Default = 00 00 - Single-Speed Mode (4 to 50 kHz sample rates) 01 - Double-Speed Mode (50 to 100 kHz sample rates) 10 - Quad-Speed Mode (100 to 192 kHz sample rates) 11 - Reserved Function: Selects the required range of sample rates for the Serial Audio Interface port(SAI_SP). These bits must be set to the corresponding sample rate range when the SAI_SP is in Master or Slave mode.
6.4.3
ADC SERIAL PORT SELECT (ADC_SP SELX) Default = 00 00 - Serial data on CX_SDOUT pin, clocked from the CODEC_SP. S/PDIF data on SAI_SDOUT pin. 01 - Serial data on CX_SDOUT pin, clocked from the SAI_SP. S/PDIF data on SAI_SDOUT pin. 10 - Serial data on SAI_SDOUT pin, clocked from the SAI_SP. No S/PDIF data available. 11 - Reserved Function: Selects the desired clocks and routing for the ADC serial output.
6.4.4
DAC DE-EMPHASIS CONTROL (DAC_DEM) Default = 0 Function: Enables the digital filter to maintain the standard 15s/50s digital de-emphasis filter response at the auto-detected sample rate of either 32, 44.1, or 48 kHz. De-emphasis will not be enabled, regardless of this register setting, at any other sample rate. If the FRC_PLL_LK bit is set to a `1'b, then the autodetect sample rate feature is disabled. To apply the correct de-emphasis filter, use the DE-EMPH bits
48
DS585PP5
CS42526
in the Receiver Mode Control (address 1Eh) register to set the appropriate sample rate. DAC_DEM reg03h[1]
0 1 1
FRC_PLL_LK reg06h[0]
X 0 1
DE-EMPH[1:0] reg1Eh[5:4]
XX XX 00 01 10 11
De-Emphasis Mode
No De-Emphasis Auto-Detect Fs Reserved 32 kHz 44.1 kHz 48 kHz
Table 5. DAC De-Emphasis
6.4.5
RECEIVER DE-EMPHASIS CONTROL (RCVR_DEM) Default = 0 Function: When enabled, de-emphasis will be automatically applied when emphasis is detected based on the channel status bits. The appropriate digital filter will be selected to maintain the standard 15s/50s digital de-emphasis filter response at the auto-detected sample rate of either 32, 44.1, or 48 kHz. If the FRC_PLL_LK bit is set to a `1'b, then the auto-detect sample rate feature is disabled. To apply the correct de-emphasis filter, use the DE-EMPH bits in the Receiver Mode Control (address 1Eh) register to set the appropriate sample rate. RCVR_DEM reg03h[0]
0 1 1
FRC_PLL_LK reg06h[0]
X 0 1
DE-EMPH[1:0] reg1Eh[5:4]
XX XX 00 01 10 11
De-Emphasis Mode
No De-Emphasis Auto-Detect Fs Reserved 32 kHz 44.1 kHz 48 kHz
Table 6. Receiver De-Emphasis
6.5
7
Interface Formats (address 04h)
6
DIF0
5
ADC_OL1
4
ADC_OL0
3
DAC_OL1
2
DAC_OL0
1
SAI_RJ16
0
CODEC_RJ16
DIF1
6.5.1
DIGITAL INTERFACE FORMAT (DIFX) Default = 01 Function: These bits select the digital interface format used for the CODEC Serial Port and Serial Audio Interface Port when not in one_line mode. The required relationship between the Left/Right clock, serial clock and serial data is defined by the Digital Interface Format and the options are detailed in Figures 11-12.
DS585PP5
49
CS42526
DIF1
0 0 1 1
DIF0
0 1 0 1
Description Left Justified, up to 24-bit data I2S, up to 24-bit data Right Justified, 16-bit or 24-bit data reserved
Table 7. Digital Interface Formats
Format
0 1 2 -
Figure
11 10 12 -
6.5.2
ADC ONE_LINE MODE (ADC_OLX) Default = 00 Function: These bits select which mode the ADC will use. By default one-line mode is disabled but can be selected using these bits. Please see Figures 13 and 14 to see the format of one-line mode 1 and one-line mode 2. ADC_OL1
0 0 1 1
ADC_OL0
0 1 0 1
Description DIF: take the DIF setting from reg04h[7:6] One-Line #1 One-Line #2 reserved
Table 8. ADC One-Line Mode
Format
3 4 -
Figure
13 14 -
6.5.3
DAC ONE_LINE MODE (DAC_OLX) Default = 00 Function: These bits select which mode the DAC will use. By default one-line mode is disabled but can be selected using these bits. Please see Figures 13 and 14 to see the format of one-line mode 1 and one-line mode 2. DAC_OL1
0 0 1 1
DAC_OL0
0 1 0 1
Description DIF: take the DIF setting from reg04h[7:6] One-Line #1 One-Line #2 reserved
Table 9. DAC One-Line Mode
Format
3 4 -
Figure
13 14 -
6.5.4
SAI RIGHT JUSTIFIED BITS (SAI_RJ16) Default = 0 Function: This bit determines how many bits to use during right-justified mode for the Serial Audio Interface Port. By default the receiver will be in RJ24 bits but can be set to RJ16 bits. 0 - 24 bit mode. 1 - 16 bit mode.
50
DS585PP5
CS42526
6.5.5 CODEC RIGHT JUSTIFIED BITS (CODEC_RJ16) Default = 0 Function: This bit determines how many bits to use during right justified mode for the DAC and ADC within the CODEC Serial Port. By default the DAC and ADC will be in RJ24 bits but can be set to RJ16 bits. 0 - 24 bit mode. 1 - 16 bit mode.
6.6
7
Misc Control (address 05h)
6
HiZ_RMCK
5
Reserved
4
FREEZE
3
FILT_SEL
2
HPF_FREEZE
1
CODEC_SP M/S
0
SAI_SP M/S
Ext ADC SCLK
6.6.1
EXTERNAL ADC SCLK SELECT (EXT ADC SCLK) Default = 0 Function: This bit identifies the SCLK source for the external ADCs attached to the ADCIN1/2 ports when using one line mode of operation. 0 - SAI_SCLK is used as external ADC SCLK. 1 - CX_SCLK is used as external ADC SCLK.
6.6.2
RMCK HIGH IMPEDANCE (HIZ_RMCK) Default = 0 Function: This bit is used to create a high impedance output on RMCK when the clock signal is not required.
6.6.3
FREEZE CONTROLS (FREEZE) Default = 0 Function: This function will freeze the previous output of, and allow modifications to be made, to the Volume Control (address 0Fh-16h), Channel Invert (address 17h) and Mixing Control Pair (address 18h-1Bh) registers without the changes taking effect until the FREEZE is disabled. To make multiple changes in these control port registers take effect simultaneously, enable the FREEZE bit, make all register changes, then disable the FREEZE bit.
6.6.4
INTERPOLATION FILTER SELECT (FILT_SEL) Default = 0 Function: This feature allows the user to select whether the DAC interpolation filter has a fast or slow roll off. For filter characteristics please See "D/A Digital Filter Characteristics" on page 11. 0 - Fast roll off. 1 - Slow roll off.
DS585PP5
51
CS42526
6.6.5 HIGH PASS FILTER FREEZE (HPF_FREEZE) Default = 0 Function: When this bit is set, the internal high-pass filter for the selected channel will be disabled.The current DC offset value will be frozen and continue to be subtracted from the conversion result. See "A/D Digital Filter Characteristics" on page 9. 6.6.6 CODEC SERIAL PORT MASTER/SLAVE SELECT (CODEC_SP M/S) Default = 0 Function: In Master mode, CX_SCLK and CX_LRCK are outputs. Internal dividers will divide the master clock to generate the serial clock and left/right clock. In Slave mode, CX_SCLK and CX_LRCK become inputs. If the internal MCLK is sourced from the output of the PLL and the SAI serial port is in Master Mode, then one of these conditions must be met for proper operation: 1). The codec serial port, CX_SP, must also be in Master Mode, 2). If the CX_SP is in slave mode, then CX_LRCK and CX_SCLK must be present. 6.6.7 SERIAL AUDIO INTERFACE SERIAL PORT MASTER/SLAVE SELECT (SAI_SP M/S) Default = 0 Function: In Master mode, SAI_SCLK and SAI_LRCK are outputs. Internal dividers will divide the master clock to generate the serial clock and left/right clock. In Slave mode, SAI_SCLK and SAI_LRCK become inputs. If the internal MCLK is sourced from the output of the PLL and the SAI serial port is in Master Mode, then one of these conditions must be met for proper operation: 1). The codec serial port, CX_SP, must also be in Master Mode, 2). If the CX_SP is in slave mode, then CX_LRCK and CX_SCLK must be present.
6.7
7
Clock Control (address 06h)
6
RMCK_DIV0
5
OMCK Freq1
4
OMCK Freq0
3
PLL_LRCK
2
SW_CTRL1
1
SW_CTRL0
0
FRC_PLL_LK
RMCK_DIV1
6.7.1
RMCK DIVIDE (RMCK_DIVX) Default = 00 Function: Divides/multiplies the internal MCLK, either from the PLL or OMCK, by the selected factor. RMCK_DIV1 RMCK_DIV0
0 0 1 1 0 1 0 1
Description Divide by 1 Divide by 2 Divide by 4 Multiply by 2
Table 10. RMCK Divider Settings
52
DS585PP5
CS42526
6.7.2 OMCK FREQUENCY (OMCK FREQX) Default = 00 Function: Sets the appropriate frequency for the supplied OMCK. OMCK Freq1 OMCK Freq0 Description 0 0 11.2896 MHz or 12.2880 MHz 0 1 16.9344 MHz or 18.4320 MHz 1 0 22.5792 MHz or 24.5760 MHz 1 1 Reserved
Table 11. OMCK Frequency Settings
6.7.3
PLL LOCK TO LRCK (PLL_LRCK) Default = 0 0 - Disabled 1 - Enabled Function: When enabled, the internal PLL of the CS42526 will lock to the SAI_LRCK of the SAI serial port.
6.7.4
MASTER CLOCK SOURCE SELECT (SW_CTRLX) Default = 00 Function: These two bits, along with the UNLOCK bit in register "Interrupt Status (address 20h) (Read Only)" on page 63, determine the master clock source for the CS42526. When SW_CTRL1 and SW_CTRL0 are set to '00'b, selecting the output of the PLL as the internal clock source, and the PLL becomes unlocked, then RMCK will equal OMCK, but all internal and serial port timings are not valid. When the FRC_PLL_LK bit is set to `1'b, the SW_CTRLX bits must be set to `00'b. If the PLL becomes unlocked when the FRC_PLL_LK bit is set to `1'b, then RMCK will not equal OMCK. SW_CTRL1 SW_CTRL0
0 0 1 1 0 1 0 1
UNLOCK
X X 0 1 0 1
Description Manual setting, MCLK sourced from PLL. Manual setting, MCLK sourced from OMCK. Hold, keep same MCLK source. Auto switch, MCLK sourced from OMCK. Auto switch, MCLK sourced from PLL. Auto switch, MCLK sourced from OMCK.
Table 12. Master Clock Source Select
6.7.5
FORCE PLL LOCK (FRC_PLL_LK) Default = 0 Function: This bit is used to enable the PLL to lock to the S/PDIF input stream or the SAI_LRCK with the absence of a clock signal on OMCK.When set to a `1'b, the auto-detect sample frequency feature will be disabled and the SW_CTRLX bits must be set to `00'b. The OMCK/PLL_CLK Ratio (address 07h) (Read Only) register contents are not valid and the PLL_CLK[2:0] bits will be set to `111'b. Use the DE-EMPH[1:0] bits to properly apply de-emphasis filtering.
DS585PP5
53
CS42526
6.8
7
RATIO7(21)
OMCK/PLL_CLK Ratio (address 07h) (Read Only)
6
RATIO6(20)
5
RATIO5(2-1)
4
RATIO4(2-2)
3
RATIO3(2-3)
2
RATIO2(2-4)
1
RATIO1(2-5)
0
RATIO0(2-6)
6.8.1
OMCK/PLL_CLK RATIO (RATIOX) Default = xxxxxxxx Function: This register allows the user to find the exact absolute frequency of the recovered MCLK coming from the PLL. This value is represented as an integer (RATIO7:6) and a fractional (RATIO5:0) part. For example, an OMCK/PLL_CLK ratio of 1.5 would be displayed as 60h.
6.9
7
RVCR Status (address 08h) (Read Only)
6
AES Format2
5
AES Format1
4
AES Format0
3
Active_CLK
2
RVCR_CLK2
1
RVCR_CLK1
0
RVCR_CLK0
Digital Silence
6.9.1
DIGITAL SILENCE DETECTION (DIGITAL SILENCE) Default = x 0 - Digital Silence not detected 1 - Digital Silence detected Function: The CS42526 will auto-detect a digital silence condition when 1548 consecutive zeros have been detected.
6.9.2
AES FORMAT DETECTION (AES FORMATX)
Default = xxx Function: The CS42526 will auto-detect the AES format of the incoming S/PDIF stream and display the information according to the following table. AES Format2
0 0 0 0 1 1 1 1
AES Format1
0 0 1 1 0 0 1 1
AES Format0
0 1 0 1 0 1 0 1
Description Linear PCM DTS-CD DTS-LD HDCD IEC 61937 Reserved Reserved Reserved
Table 13. AES Format Detection
54
DS585PP5
CS42526
6.9.3 SYSTEM CLOCK SELECTION (ACTIVE_CLK) Default = x 0 - Output of PLL 1 - OMCK Function: This bit identifies the source of the internal system clock (MCLK). 6.9.4 RECEIVER CLOCK FREQUENCY (RCVR_CLKX) Default = xxx Function: The CS42526 will auto-detect the ratio between the OMCK and the recovered clock from the PLL, which is displayed in register 07h. Based on this ratio, the absolute frequency of the PLL clock can be determined, and this information is displayed according to the following table. If the absolute frequency of the PLL clock does not match one of the given frequencies, this register will display the closest available value. NOTE: These bits are set to `111'b when the FRC_PLL_LK bit is `1'b. RCVR_CLK2 RCVR_CLK1 RCVR_CLK0
0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1
Description 8.1920 MHz 11.2896 MHz 12.288 MHz 16.3840 MHz 22.5792 MHz 24.5760 MHz 45.1584 MHz 49.1520 MHz
Table 14. Receiver Clock Frequency Detection
6.10
7
Burst Preamble PC and PD Bytes (addresses 09h - 0Ch)(Read Only)
6
PCx-6 PDx-6
5
PCx-5 PDx-5
4
PCx-4 PDx-4
3
PCx-3 PDx-3
2
PCx-2 PDx-2
1
PCx-1 PDx-1
0
PCx-0 PDx-0
PCx-7 PDx-7
6.10.1 BURST PREAMBLE BITS (PCX & PDX) Default = xxh Function: The PC and PD burst preamble bytes are loaded into these four registers.
DS585PP5
55
CS42526
6.11
7
Reserved
Volume Transition Control (address 0Dh)
6
SNGVOL
5
SZC1
4
SZC0
3
AMUTE
2
MUTE SAI_SP
1
RAMP_UP
0
RAMP_DN
6.11.1 SINGLE VOLUME CONTROL (SNGVOL) Default = 0 Function: The individual channel volume levels are independently controlled by their respective Volume Control registers when this function is disabled. When enabled, the volume on all channels is determined by the A1 Channel Volume Control register and the other Volume Control registers are ignored. 6.11.2 SOFT RAMP AND ZERO CROSS CONTROL (SZCX) Default = 00 00 - Immediate Change 01 - Zero Cross 10 - Soft Ramp 11 - Soft Ramp on Zero Crossings Function: Immediate Change When Immediate Change is selected all level changes will take effect immediately in one step. Zero Cross Zero Cross Enable dictates that signal level changes, either by attenuation changes or muting, will occur on a signal zero crossing to minimize audible artifacts. The requested level change will occur after a timeout period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel. Soft Ramp Soft Ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramping, in 1/8 dB steps, from the current level to the new level at a rate of 1 dB per 8 left/right clock periods. Soft Ramp on Zero Crossing Soft Ramp and Zero Cross Enable dictates that signal level changes, either by attenuation changes or muting, will occur in 1/8 dB steps and be implemented on a signal zero crossing. The 1/8 dB level change will occur after a timeout period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal does not encounter a zero crossing. The zero cross function is independently monitored and implemented for each channel.
56
DS585PP5
CS42526
6.11.3 AUTO-MUTE (AMUTE) Default = 1 0 - Disabled 1 - Enabled Function: The Digital-to-Analog converters of the CS42526 will mute the output following the reception of 8192 consecutive audio samples of static 0 or -1. A single sample of non-static data will release the mute. Detection and muting is done independently for each channel. The quiescent voltage on the output will be retained and the MUTEC pin will go active during the mute period. The muting function is affected, similar to volume control changes, by the Soft and Zero Cross bits (SZC[1:0]). 6.11.4 SERIAL AUDIO INTERFACE SERIAL PORT MUTE (MUTE SAI_SP) Default = 0 0 - Disabled 1 - Enabled Function: When enabled, the Serial Audio Interface port (SAI_SP) will be muted. 6.11.5 SOFT VOLUME RAMP-UP AFTER ERROR (RMP_UP) Default = 0 0 - Disabled 1 - Enabled Function: An un-mute will be performed after executing a filter mode change, after a MCLK/LRCK ratio change or error, and after changing the Functional Mode. When this feature is enabled, this un-mute is affected, similar to attenuation changes, by the Soft and Zero Cross bits (SZC[1:0]). When disabled, an immediate un-mute is performed in these instances. Note: For best results, it is recommended that this bit be used in conjunction with the RMP_DN bit. 6.11.6 SOFT RAMP-DOWN BEFORE FILTER MODE CHANGE (RMP_DN) Default = 0 0 - Disabled 1 - Enabled Function: A mute will be performed prior to executing a filter mode or de-emphasis mode change. When this feature is enabled, this mute is affected, similar to attenuation changes, by the Soft and Zero Cross bits (SZC[1:0]). When disabled, an immediate mute is performed prior to executing a filter mode or de-emphasis mode change. Note: For best results, it is recommended that this bit be used in conjunction with the RMP_UP bit.
DS585PP5
57
CS42526
6.12
7
Reserved
Channel Mute (address 0Eh)
6
Reserved
5
B3_MUTE
4
A3_MUTE
3
B2_MUTE
2
A2_MUTE
1
B1_MUTE
0
A1_MUTE
6.12.1 INDEPENDENT CHANNEL MUTE (XX_MUTE) Default = 0 0 - Disabled 1 - Enabled Function: The Digital-to-Analog converter outputs of the CS42526 will mute when enabled. The quiescent voltage on the outputs will be retained. The muting function is affected, similar to attenuation changes, by the Soft and Zero Cross bits (SZC[1:0]).
6.13
Volume Control (addresses 0Fh, 10h, 11h, 12h, 13h, 14h)
6 xx_VOL6 5 xx_VOL5 4 xx_VOL4 3 xx_VOL3 2 xx_VOL2 1 xx_VOL1 0 xx_VOL0
7 xx_VOL7
6.13.1 VOLUME CONTROL (XX_VOL) Default = 0 Function: The Digital Volume Control registers allow independent control of the signal levels in 0.5 dB increments from 0 to -127 dB. Volume settings are decoded as shown in Table 15. The volume changes are implemented as dictated by the Soft and Zero Cross bits (SZC[1:0]). All volume settings less than -127 dB are equivalent to enabling the MUTE bit for the given channel.
Binary Code Decimal Value Volume Setting
00000000 00101000 01010000 01111000 10110100
0 40 80 120 180
0 dB -20 dB -40 dB -60 dB -90 dB
Table 15. Example Digital Volume Settings
6.14
7
Channel Invert (address 17h)
6
Reserved
5
INV_B3
4
INV_A3
3
INV_B2
2
INV_A2
1
INV_B1
0
INV_A1
Reserved
6.14.1 INVERT SIGNAL POLARITY (INV_XX) Default = 0 0 - Disabled 1 - Enabled Function: When enabled, these bits will invert the signal polarity of their respective channels.
58
DS585PP5
CS42526
6.15 Mixing Control Pair 1 (Channels A1 & B1)(address 18h) Mixing Control Pair 2 (Channels A2 & B2)(address 19h) Mixing Control Pair 3 (Channels A3 & B3)(address 1Ah)
7
Px_A=B
6
Reserved
5
Reserved
4
Px_ATAPI4
3
Px_ATAPI3
2
Px_ATAPI2
1
Px_ATAPI1
0
Px_ATAPI0
6.15.1 CHANNEL A VOLUME = CHANNEL B VOLUME (PX_A=B) Default = 0 0 - Disabled 1 - Enabled Function: The AOUTAx and AOUTBx volume levels are independently controlled by the A and the B Channel Volume Control registers when this function is disabled. The volume on both AOUTAx and AOUTBx are determined by the A Channel Volume Control registers (per A-B pair), and the B Channel Volume Control registers are ignored when this function is enabled.
DS585PP5
59
CS42526
6.15.2 ATAPI CHANNEL MIXING AND MUTING (PX_ATAPIX) Default = 01001 Function: The CS42526 implements the channel mixing functions of the ATAPI CD-ROM specification. The ATAPI functions are applied per A-B pair. Refer to Table 16 and Figure 8 for additional information. ATAPI4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ATAPI3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 ATAPI2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 ATAPI1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 ATAPI0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 AOUTAx MUTE MUTE MUTE MUTE aR aR aR aR aL aL aL aL a[(L+R)/2] a[(L+R)/2] a[(L+R)/2] a[(L+R)/2] MUTE MUTE MUTE MUTE aR aR aR aR aL aL aL aL [(aL+bR)/2] [(aL+bR)/2] [(bL+aR)/2] [(aL+bR)/2] AOUTBx MUTE bR bL b[(L+R)/2] MUTE bR bL b[(L+R)/2] MUTE bR bL b[(L+R)/2] MUTE bR bL b[(L+R)/2] MUTE bR bL [(aL+bR)/2] MUTE bR bL [(bL+aR)/2] MUTE bR bL [(aL+bR)/2] MUTE bR bL [(aL+bR)/2]
Table 16. ATAPI Decode
60
DS585PP5
CS42526
6.16
7
Reserved
ADC Left Channel Gain (address 1Ch)
6
Reserved
5
LGAIN5
4
LGAIN4
3
LGAIN3
2
LGAIN2
1
LGAIN1
0
LGAIN0
6.16.1 ADC LEFT CHANNEL GAIN (LGAINX) Default = 00h Function: The level of the left analog channel can be adjusted in 1 dB increments as dictated by the Soft and Zero Cross bits (SZC[1:0]) from +15 to -15 dB. Levels are decoded in two's complement, as shown in Table 17.
6.17
7
ADC Right Channel Gain (address 1Dh)
6
Reserved
5
RGAIN5
4
RGAIN4
3
RGAIN3
2
RGAIN2
1
RGAIN1
0
RGAIN0
Reserved
6.17.1 ADC RIGHT CHANNEL GAIN (RGAINX) Default = 00h Function: The level of the right analog channel can be adjusted in 1 dB increments as dictated by the Soft and Zero Cross bits (SZC[1:0]) from +15 to -15 dB. Levels are decoded in two's complement, as shown in Table 17.
Binary Code Decimal Value Volume Setting
001111 001010 000101 000000 111011 110110 110001
+15 +10 +5 0 -5 -10 -15
+15 dB +10 dB +5 dB 0 dB -5 dB -10 dB -15 dB
Table 17. Example ADC Input Gain Settings
6.18
7
Receiver Mode Control (address 1Eh)
6
Reserved
5
DE-EMPH1
4
DE-EMPH0
3
INT1
2
INT0
1
HOLD1
0
HOLD0
SP_SYNC
6.18.1 SERIAL PORT SYNCHRONIZATION (SP_SYNC) Default = 0 0 - CX & SAI Serial Port timings not in phase 1 - CX & SAI Serial Port timings are in phase Function: Forces the LRCK and SCLK from the CX & SAI Serial Ports to align and operate in phase. This function will operate when both ports are running at the same sample rate or when operating at different sample rates. DS585PP5 61
CS42526
6.18.2 DE-EMPHASIS SELECT BITS (DE-EMPHX) Default = 00 00 - Reserved 01 - De-Emphasis for 32 kHz sample rate. 10 - De-Emphasis for 44.1 kHz sample rate. 11 - De-Emphasis for 48 kHz sample rate. Function: Used to specify which de-emphasis filter to apply when the "Force PLL Lock (FRC_PLL_LK)" on page 53 is enabled. 6.18.3 INTERRUPT PIN CONTROL (INTX) Default = 00 00 - Active high; high output indicates interrupt condition has occurred 01 - Active low, low output indicates an interrupt condition has occurred 10 - Open drain, active low. Requires an external pull-up resistor on the INT pin. 11 - Reserved Function: Determines how the interrupt pin (INT) will indicate an interrupt condition. 6.18.4 AUDIO SAMPLE HOLD (HOLDX) Default = 00 00 - Hold the last valid audio sample 01 - Replace the current audio sample with 00 (mute) 10 - Do not change the received audio sample 11 - Reserved Function: Determines how received audio samples are affected when a receiver error occurs.
6.19
7
Receiver Mode Control 2 (address 1Fh)
6
TMUX2
5
TMUX1
4
TMUX0
3
Reserved
2
RMUX2
1
RMUX1
0
RMUX0
Reserved
6.19.1 TXP MULTIPLEXER (TMUXX) Default = 000 Function: Selects which of the eight receiver inputs will be mapped directly to the TXP output pin. TMUX2
0 0 0 0 1 1
TMUX1
0 0 1 1 0 0
TMUX0
0 1 0 1 0 1
Description Output from pin RXP0 Output from pin RXP1 Output from pin RXP2 Output from pin RXP3 Output from pin RXP4 Output from pin RXP5
Table 18. TXP Output Selection
62
DS585PP5
CS42526
TMUX2
1 1
TMUX1
1 1
TMUX0
0 1
Description Output from pin RXP6 Output from pin RXP7
Table 18. TXP Output Selection
6.19.2 RECEIVER MULTIPLEXER (RMUXX) Default = 000 Function: Selects which of the eight receiver inputs will be mapped to the internal receiver. RMUX2
0 0 0 0 1 1 1 1
RMUX1
0 0 1 1 0 0 1 1
RMUX0
0 1 0 1 0 1 0 1
Description Input from pin RXP0 Input from pin RXP1 Input from pin RXP2 Input from pin RXP3 Input from pin RXP4 Input from pin RXP5 Input from pin RXP6 Input from pin RXP7
Table 19. Receiver Input Selection
6.20
7
Interrupt Status (address 20h) (Read Only)
6
Reserved
5
QCH
4
DETC
3
DETU
2
Reserved
1
OverFlow
0
RERR
UNLOCK
For all bits in this register, a "1" means the associated interrupt condition has occurred at least once since the register was last read. A "0" means the associated interrupt condition has NOT occurred since the last reading of the register. Reading the register resets all bits to 0. Status bits that are masked off in the associated mask register will always be "0" in this register. 6.20.1 PLL UNLOCK (UNLOCK) Default = 0 Function: PLL unlock status bit. This bit will go high if the PLL becomes unlocked. 6.20.2 NEW Q-SUBCODE BLOCK (QCH) Default = 0 Function: Indicates when the Q-Subcode block has changed. 6.20.3 D TO E C-BUFFER TRANSFER (DETC) Default = 0 Function: Indicates when the channel status buffer has changed.
DS585PP5
63
CS42526
6.20.4 D TO E U-BUFFER TRANSFER (DETU) Default = 0 Function: Indicates when the user status buffer has changed. 6.20.5 ADC OVERFLOW (OVERFLOW) Default = 0 Function: Indicates that there is an over-range condition anywhere in the CS42526 ADC signal path. 6.20.6 RECEIVER ERROR (RERR) Default = 0 Function: Indicates that a receiver error has occurred. The register "Receiver Errors (address 26h) (Read Only)" on page 67 may be read to determine the nature of the error which caused the interrupt.
6.21
7
Interrupt Mask (address 21h)
6
Reserved
5
QCHM
4
DETCM
3
DETUM
2
Reserved
1
OverFlowM
0
RERRM
UNLOCKM
Default = 00000000 Function: The bits of this register serve as a mask for the interrupt sources found in the register "Interrupt Status (address 20h) (Read Only)" on page 63. If a mask bit is set to 1, the error is unmasked, meaning that its occurrence will affect the INT pin and the status register. If a mask bit is set to 0, the error is masked, meaning that its occurrence will not affect the INT pin or the status register. The bit positions align with the corresponding bits in the Interrupt Status register.
6.22
7
Interrupt Mode MSB (address 22h) Interrupt Mode LSB (address 23h)
6
Reserved Reserved
5
QCH1 QCH0
4
DETC1 DETC0
3
DETU1 DETU0
2
Reserved Reserved
1
OF1 OF0
0
RERR1 RERR0
UNLOCK1 UNLOCK0
Default = 00000000 Function: The two Interrupt Mode registers form a 2-bit code for each Interrupt Status register function. There are three ways to set the INT pin active in accordance with the interrupt condition. In the Rising edge active mode, the INT pin becomes active on the arrival of the interrupt condition. In the Falling edge active mode, the INT pin becomes active on the removal of the interrupt condition. In Level active mode, the INT interrupt pin becomes active during the interrupt condition. Be aware that the active level(Active High or Low) only depends on the INT(1:0) bits located in the register "Receiver Mode Control (address 1Eh)" on page 61. 00 - Rising edge active 64 DS585PP5
CS42526
01 - Falling edge active 10 - Level active 11 - Reserved
6.23
7
Channel Status Data Buffer Control (address 24h)
6
LOCKM
5
Reserved
4
Reserved
3
Reserved
2
BSEL
1
CAM
0
CHS
Reserved
6.23.1 SPDIF RECEIVER LOCKING MODE (LOCKM) Default = 1 0 - Revision C compatibility mode. 1 - Revision D default mode. Provides improved wideband jitter rejection in double and quad speed modes. Function: Selects the mode used by the SPSDIF receiver to lock to the active RXP[7:0] input. Revision C compatibility mode is included for backward compatibility with Revision C. 6.23.2 DATA BUFFER SELECT (BSEL) Default = 0 0 - Data buffer address space contains Channel Status data 1 - Data buffer address space contains User data Function: Selects the data buffer register addresses to contain either User data or Channel Status data. 6.23.3 C-DATA BUFFER CONTROL (CAM) Default = 0 0 - One byte mode 1 - Two byte mode Function: Sets the C-data buffer control port access mode. 6.23.4 CHANNEL SELECT (CHS) Default = 0 Function: When set to `0', channel A information is displayed in the receiver channel status register. Channel A information is output during control port reads when CAM is set to `0' (one byte mode). When set to `1', channel B information is displayed in the receiver channel status register. Channel B information is output during control port reads when CAM is set to `0' (one byte mode).
DS585PP5
65
CS42526
6.24
7
AUX3
Receiver Channel Status (address 25h) (Read Only)
6
AUX2
5
AUX1
4
AUX0
3
PRO
2
AUDIO
1
COPY
0
ORIG
The bits in this register can be associated with either channel A or B of the received data. The desired channel is selected with the CHS bit of the Channel Status Data Buffer Control register. 6.24.1 AUXILIARY DATA WIDTH (AUXX) Default = xxxx Function: Displays the incoming auxiliary data field width, as indicated by the incoming channel status bits, decoded according to IEC60958. AUX3 0 0 0 0 0 0 0 0 1 1 AUX2 0 0 0 0 1 1 1 1 0 0 AUX1 0 0 1 1 0 0 1 1 0 0 AUX0 0 1 0 1 0 1 0 1 0 1 Description Auxiliary data is not present Auxiliary data is 1 bit long Auxiliary data is 2 bit long Auxiliary data is 3 bit long Auxiliary data is 4 bit long Auxiliary data is 5 bit long Auxiliary data is 6 bit long Auxiliary data is 7 bit long Auxiliary data is 8 bit long 1001 - 1111 is Reserved
Table 20. Auxiliary Data Width Selection
6.24.2 CHANNEL STATUS BLOCK FORMAT (PRO) Default = x Function: Indicates the channel status block format. 6.24.3 AUDIO INDICATOR (AUDIO) Default = x Function: A `0' indicates that the received data is linearly coded PCM audio. A `1' indicates that the received data is not linearly coded PCM audio. 6.24.4 SCMS COPYRIGHT (COPY) Default = x Function: A `0' indicates that copyright is not asserted, while a `1' indicates that copyright is asserted. If the category code is set to General in the incoming S/PDIF digital stream, copyright will always be indicated by COPY, even when the stream indicates no copyright. 6.24.5 SCMS GENERATION (ORIG) Default = x 66 DS585PP5
CS42526
Function: A `0' indicates that the received data is 1st generation or higher. A `1' indicates that the received data is original. COPY and ORIG will both be set to `1' if the incoming data is flagged as professional, or if the receiver is not in use.
6.25
7
Receiver Errors (address 26h) (Read Only)
6
QCRC
5
CCRC
4
UNLOCK
3
V
2
CONF
1
BIP
0
PAR
Reserved
6.25.1 CRC ERROR (QCRC) Default = x 0 - No error 1 - Error Function: Indicates a Q-subcode data CRC error. This bit is updated on Q-subcode block boundaries. 6.25.2 REDUNDANCY CHECK (CCRC) Default = x 0 - No error 1 - Error Function: Indicates a channel status block cyclic redundancy. This bit is updated on CS block boundaries, valid in Professional mode. 6.25.3 PLL LOCK STATUS (UNLOCK) Default = x 0 - PLL locked 1 - PLL out of lock Function: Indicates the lock status of the PLL. 6.25.4 RECEIVED VALIDITY (V) Default = x 0 - Data is valid and is normally linear coded PCM audio 1 - Data is invalid, or may be valid compressed audio Function: Indicates the received validity status. This bit is updated on sub-frame boundaries. 6.25.5 RECEIVED CONFIDENCE (CONF) Default = x 0 - No error 1 - Confidence error. The logical OR of UNLOCK and BIP. The input data stream may be near an error condition due to jitter. Function:
DS585PP5
67
CS42526
Indicates the received confidence status. This bit is updated on sub-frame boundaries. 6.25.6 BI-PHASE ERROR (BIP) Default = x 0 - No error 1 - Bi-phase error. This indicates an error in the received bi-phase coding. Function: Indicates a bi-phase coding error. This bit is updated on sub-frame boundaries. 6.25.7 PARITY STATUS (PAR) Default = x 0 - No error 1 - Parity Error Function: Indicates the Parity status. This bit is updated on sub-frame boundaries.
6.26
7
Receiver Errors Mask (address 27h)
6
QCRCM
5
CCRCM
4
UNLOCKM
3
VM
2
CONFM
1
BIPM
0
PARM
Reserved
Default = 00000000 Function: The bits in this register serve as masks for the corresponding bits of the Receiver Errors register. If a mask bit is set to 1, the error is unmasked, meaning that its occurrence will appear in the receiver errors register, will affect the RERR interrupt, and will affect the current audio sample according to the status of the HOLD bit. If a mask bit is set to 0, the error is masked, meaning that its occurrence will not appear in the receiver error register, will not affect the RERR interrupt, and will not affect the current audio sample. The CCRC and QCRC bits behave differently from the other bits: they do not affect the current audio sample even when unmasked.
6.27
7
MuteC Pin Control (address 28h)
6
Reserved
5
MCPolarity
4
M_AOUTA1
3
M_AOUTB1
2
M_AOUTA2 M_AOUTB2
1
M_AOUTA3 M_AOUTB3
0
Reserved
Reserved
6.27.1 MUTEC POLARITY SELECT (MCPOLARITY) Default = 0 0 - Active low 1 - Active high Function: Determines the polarity of the MUTEC pin. 6.27.2 CHANNEL MUTES SELECT (M_AOUTXX) Default = 1111
68
DS585PP5
CS42526
0 - Channel mute is not mapped to the MUTEC pin 1 - Channel mute is mapped to the MUTEC pin Function: Determines which channel mutes will be mapped to the MUTEC pin. If no channel mute bits are mapped, then the MUTEC pin is driven to the "active" state as defined by the POLARITY bit. These Channel Mute Select bits are "ANDed" together in order for the MUTEC pin to go active. This means that if multiple Channel Mutes are selected to be mapped to the MUTEC pin, then all corresponding channels must be muted before the MUTEC will go active.
6.28
7
RXP/General Purpose Pin Control (addresses 29h to 2Fh)
6
Mode0
5
Polarity
4
Function4
3
Function3
2
Function2
1
Function1
0
Function0
Mode1
6.28.1 MODE CONTROL (MODEX) Default = 00 00 - RXP Input 01 - Mute Mode 10 - GPO/Overflow Mode 11 - GPO, Drive High Mode Function: RXP Input - The pin is configured as a receiver input which can then be muxed to either the TXP pin or to the internal receiver. Mute Mode - The pin is configured as a dedicated mute pin. The muting function is controlled by the Function bits. GPO, Drive Low / ADC Overflow Mode - The pin is configured as a general purpose output driven low or as a dedicated ADC overflow pin indicating an over-range condition anywhere in the ADC signal path for either the left or right channel. The Functionx bits determine the operation of the pin. When configured as a GPO with the output driven low, the driver is a CMOS driver. When configured to identify an ADC Overflow condition, the driver is an open drain driver requiring a pull-up resistor. GPO, Drive High Mode - The pin is configured as a general purpose output driven high. 6.28.2 POLARITY SELECT (POLARITY) Default = 0 Function: RXP Input - If the pin is configured for an RXP input, the polarity bit is ignored. It is recommended that in this mode this bit be set to 0. Mute Mode - If the pin is configured as a dedicated mute output pin, then the polarity bit determines the polarity of the mapped pin according to the following 0 - Active low 1 - Active high GPO, Drive Low / ADC Overflow Mode - If the pin is configured as a GPO, Drive Low / ADC Overflow Mode pin, the polarity bit is ignored. It is recommended that in this mode this bit be set to 0. GPO, Drive High - If the pin is configured as a general purpose output driven high, the polarity bit is
DS585PP5
69
CS42526
ignored. It is recommended that in this mode this bit be set to 0. 6.28.3 FUNCTIONAL CONTROL (FUNCTIONX) Default = 00000 Function: RXP Input - If the pin is configured for an RXP input, the functional bits are ignored. It is recommended that in this mode all the functional bits be set to 0. Mute Mode - If the pin is configured as a dedicated mute pin, then the functional bits determine which channel mutes will be mapped to this pin according to the following table. 0 - Channel mute is not mapped to the RXPx/GPOx pin 1 - Channel mute is mapped to the RXPx/GPOx pin:
RXPx/GPOx
RXP7/GPO7 pin 42 RXP6/GPO6 pin 43 RXP5/GPO5 pin 44 RXP4/GPO4 pin 45 RXP3/GPO3 pin 46 RXP2/GPO2 pin 47 RXP1/GPO1 pin 48
Reg Address
29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh
Function4
M_AOUTA1 M_AOUTA1 M_AOUTB1 M_AOUTA1 M_AOUTB1 M_AOUTA1 M_AOUTB1 M_AOUTA1 M_AOUTB1 M_AOUTA1 M_AOUTB1 M_AOUTA1 M_AOUTB1
Function3
M_AOUTB1 M_AOUTA2 M_AOUTA2 M_AOUTA2 M_AOUTB2 M_AOUTA2 M_AOUTB2 M_AOUTA2 M_AOUTB2 M_AOUTA2 M_AOUTB2
Function2
M_AOUTA2 M_AOUTB2 M_AOUTB2 M_AOUTB2 M_AOUTA3 M_AOUTA3 M_AOUTA3 M_AOUTB3 M_AOUTA3 M_AOUTB3
Function1
M_AOUTA3 M_AOUTB3 M_AOUTA3 M_AOUTB3 M_AOUTA3 M_AOUTB3 M_AOUTB3 M_AOUTB3
Function0
Reserved Reserved Reserved Reserved Reserved Reserved Reserved
Reserved Reserved
GPO, Drive Low / ADC Overflow Mode - If the pin is configured as a GPO, Drive Low / ADC Overflow Mode pin, then the Function1 and Function0 bits determine how the output will behave according to the following table. It is recommended that in this mode the remaining functional bits be set to 0.
Function1
0 1
Function0
0 1
GPOx
Drive Low OVFL R or L
Driver Type
CMOS Open Drain
GPO, Drive High - If the pin is configured as a general purpose output, then the functional bits are ignored and the pin is driven high. It is recommended that in this mode all the functional bits be set to 0.
70
DS585PP5
CS42526
6.29
7
Address3 Track7 Index7 Minute7 Second7 Frame7 Zero7 A.Minute7 A.Second7 A.Frame7
Q-Channel Subcode Bytes 0 to 9 (addresses 30h to 39h) (Read Only)
6
Address2 Track6 Index6 Minute6 Second6 Frame6 Zero6 A.Minute6 A.Second6 A.Frame6
5
Address1 Track5 Index5 Minute5 Second5 Frame5 Zero5 A.Minute5 A.Second5 A.Frame5
4
Address0 Track4 Index4 Minute4 Second4 Frame4 Zero4 A.Minute4 A.Second4 A.Frame4
3
Control3 Track3 Index3 Minute3 Second3 Frame3 Zero3 A.Minute3 A.Second3 A.Frame3
2
Control2 Track2 Index2 Minute2 Second2 Frame2 Zero2 A.Minute2 A.Second2 A.Frame2
1
Control1 Track1 Index1 Minute1 Second1 Frame1 Zero1 A.Minute1 A.Second1 A.Frame1
0
Control0 Track0 Index0 Minute0 Second0 Frame0 Zero0 A.Minute0 A.Second0 A.Frame0
These ten registers contain the decoded Q-channel subcode data.
6.30
7
C-bit or U-bit Data Buffer (addresses 3Ah to 51h) (Read Only)
6
CU Buffer6
5
CU Buffer5
4
CU Buffer4
3
CU Buffer3
2
CU Buffer2
1
CU Buffer1
0
CU Buffer0
CU Buffer7
Either channel status data buffer E or user data buffer E is accessible through these register addresses.
DS585PP5
71
CS42526
7. PARAMETER DEFINITIONS
Dynamic Range The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified bandwidth. Dynamic Range is a signal-to-noise ratio measurement over the specified band width made with a -60 dBFS signal. 60 dB is added to resulting measurement to refer the measurement to full-scale. This technique ensures that the distortion components are below the noise level and do not effect the measurement. This measurement technique has been accepted by the Audio Engineering Society, AES17-1991, and the Electronic Industries Association of Japan, EIAJ CP-307. Expressed in decibels. Total Harmonic Distortion + Noise The ratio of the rms value of the signal to the rms sum of all other spectral components over the specified band width (typically 10 Hz to 20 kHz), including distortion components. Expressed in decibels. Measured at -1 and -20 dBFS as suggested in AES17-1991 Annex A. Frequency Response A measure of the amplitude response variation from 10 Hz to 20 kHz relative to the amplitude response at 1 kHz. Units in decibels. Interchannel Isolation A measure of crosstalk between the left and right channels. Measured for each channel at the converter's output with no signal to the input under test and a full-scale signal applied to the other channel. Units in decibels. Interchannel Gain Mismatch The gain difference between left and right channels. Units in decibels. Gain Error The deviation from the nominal full-scale analog output for a full-scale digital input. Gain Drift The change in gain value with temperature. Units in ppm/C. Offset Error The deviation of the mid-scale transition (111...111 to 000...000) from the ideal. Units in mV.
72
DS585PP5
CS42526
8. REFERENCES
1) Cirrus Logic, Audio Quality Measurement Specification, Version 1.0, 1997. http://www.cirrus.com/products/papers/meas/meas.html 2) Cirrus Logic, AN18: Layout and Design Rules for Data Converters and Other Mixed Signal Devices, Version 6.0, February 1998. 3) Cirrus Logic, AN22: Overview of Digital Audio Interface Data Structures, Version 2.0, February 1998.; A useful tutorial on digital audio specifications. 4) Cirrus Logic, AN134: AES and S/PDIF Recommended Transformers, Version 2, April 1999. 5) Cirrus Logic, An Understanding and Implementation of the SCMS Serial Copy Management System for Digital Audio Transmission, by Clifton Sanchez.; an excellent tutorial on SCMS. It is available from the AES as preprint 3518. 6) Cirrus Logic, Techniques to Measure and Maximize the Performance of a 120 dB, 96 kHz A/D Converter Integrated Circuit, by Steven Harris, Steven Green and Ka Leung. Presented at the 103rd Convention of the Audio Engineering Society, September 1997. 7) Cirrus Logic, A Stereo 16-bit Delta-Sigma A/D Converter for Digital Audio, by D.R. Welland, B.P. Del Signore, E.J. Swanson, T. Tanaka, K. Hamashita, S. Hara, K. Takasuka. Paper presented at the 85th Convention of the Audio Engineering Society, November 1988. 8) Cirrus Logic, The Effects of Sampling Clock Jitter on Nyquist Sampling Analog-to-Digital Converters, and on Oversampling Delta Sigma ADC's, by Steven Harris. Paper presented at the 87th Convention of the Audio Engineering Society, October 1989. 9) Cirrus Logic, An 18-Bit Dual-Channel Oversampling Delta-Sigma A/D Converter, with 19-Bit Mono Application Example, by Clif Sanchez. Paper presented at the 87th Convention of the Audio Engineering Society, October 1989. 10) Cirrus Logic, How to Achieve Optimum Performance from Delta-Sigma A/D and D/A Converters,by Steven Harris. Presented at the 93rd Convention of the Audio Engineering Society, October 1992. 11) Cirrus Logic, A Fifth-Order Delta-Sigma Modulator with 110 dB Audio Dynamic Range, by I. Fujimori, K. Hamashita and E.J. Swanson. Paper presented at the 93rd Convention of the Audio Engineering Society, October 1992. 12) International Electrotechnical Commission, IEC60958, http://www.ansi.org 13) Philips Semiconductor, The I2C-Bus Specification: Version 2.1, January 2000. http://www.semiconductors.philips.com
DS585PP5
73
CS42526
9. PACKAGE DIMENSIONS
64L LQFP PACKAGE DRAWING
E E1
D D1
1
e
B A A1
L
MIN --0.002 0.007 0.461 0.390 0.461 0.390 0.016 0.018 0.000 * Nominal pin pitch is 0.50 mm Controlling dimension is mm. JEDEC Designation: MS026
DIM A A1 B D D1 E E1 e* L
INCHES NOM 0.55 0.004 0.008 0.472 BSC 0.393 BSC 0.472 BSC 0.393 BSC 0.020 BSC 0.024 4
MAX 0.063 0.006 0.011 0.484 0.398 0.484 0.398 0.024 0.030 7.000
MIN --0.05 0.17 11.70 9.90 11.70 9.90 0.40 0.45 0.00
MILLIMETERS NOM 1.40 0.10 0.20 12.0 BSC 10.0 BSC 12.0 BSC 10.0 BSC 0.50 BSC 0.60 4
MAX 1.60 0.15 0.27 12.30 10.10 12.30 10.10 0.60 0.75 7.00
THERMAL CHARACTERISTICS
Parameter Allowable Junction Temperature Junction to Ambient Thermal Impedance JA Symbol Min Typ 48 Max +135 Units C C/Watt
74
DS585PP5
CS42526
10. APPENDIX A: EXTERNAL FILTERS 10.1 ADC Input Filter
The analog modulator samples the input at 6.144 MHz (internal MCLK=12.288 MHz). The digital filter will reject signals within the stopband of the filter. However, there is no rejection for input signals which are (n x 6.144 MHz) the digital passband frequency, where n=0,1,2,... Refer to Figure 24 for a recommended analog input buffer that will attenuate any noise energy at 6.144 MHz, in addition to providing the optimum source impedance for the modulators. The use of capacitors which have a large voltage coefficient (such as general purpose ceramics) must be avoided since these can degrade signal linearity.
634 470 pF C0G 100 F + 634 100 k 2.8 k 91
AINL
VA
10 k
A INL1+
634 470 pF C0G + 91 2700 pF C0G
A INL13.32 k 0.1 F 100 F 332
634 470 pF C0G + 634 100 k 2.8 k 91
AINR
100 F
A INR1+
634 470 pF C0G + 91 2700 pF C0G
VA
10 k
A INR1-
3.32 k
0.1 F
100 F
332
Figure 24. Recommended Analog Input Buffer
10.2
DAC Output Filter
The CS42526 is a linear phase design and does not include phase or amplitude compensation for an external filter. Therefore, the DAC system phase and amplitude response will be dependent on the external analog circuitry.
1800 pF C0G 6.19 k 390 pF 2.94 k C0G + 1.65 k 5800 pF C0G 1.87 k 22 F 887 1200 pF C0G
AOUT AOUT +
5.49 k
22 F
1 k 47.5 k
Analog Out
Figure 25. Recommended Analog Output Buffer
DS585PP5
75
CS42526
11. APPENDIX B: S/PDIF RECEIVER 11.1 Error Reporting and Hold Function
The UNLOCK bit indicates whether the PLL is locked to the incoming S/PDIF data. The V bit reflects the current validity bit status. The CONF (confidence) bit indicates the amplitude of the eye pattern opening, indicating a link that is close to generating errors. The BIP (bi-phase) error bit indicates an error in incoming bi-phase coding. The PAR (parity) bit indicates a received parity error. The error bits are "sticky": they are set on the first occurrence of the associated error and will remain set until the user reads the register through the control port. This enables the register to log all unmasked errors that occurred since the last time the register was read. The Receiver Errors Mask register (See "Receiver Errors Mask (address 27h)" on page 68) allows masking of individual errors. The bits in this register serve as masks for the corresponding bits of the Receiver Error Register. If a mask bit is set to 1, the error is unmasked, which implies the following: its occurrence will be reported in the receiver error register, invoke the occurrence of a RERR interrupt, and affect the current audio sample according to the status of the HOLD bits. The HOLD bits allow a choice of holding the previous sample, replacing the current sample with zero (mute), or not changing the current audio sample. If a mask bit is set to 0, the error is masked, which implies the following: its occurrence will not be reported in the receiver error register, the RERR interrupt will not be generated, and the current audio sample will not be affected. The QCRC and CCRC errors do not affect the current audio sample, even if unmasked.
11.2
Channel Status Data Handling
The setting of the CHS bit in the register "Channel Status Data Buffer Control (address 24h)" on page 65 determines whether the channel status decodes are from the A channel (CHS = 0) or B channel (CHS = 1). The PRO (professional) bit is extracted directly. For consumer data, the COPY (copyright) bit is extracted, and the category code and L bits are decoded to determine SCMS status, indicated by the ORIG (original) bit. If the category code is set to General on the incoming S/PDIF stream, copyright will always be indicated even when the stream indicates no copyright. Finally, the AUDIO bit is extracted and used to set an AUDIO indicator, as described in section 4.4.5, Non-Audio Auto-Detection. If 50/15 s pre-emphasis is detected, and the Receiver Auto De-emphasis control is enabled, then deemphasis will automatically be applied to the incoming digital PCM data. See "Functional Mode (address 03h)" on page 48 for more details. The encoded channel status bits which indicate sample word length are decoded according to IEC 60958. Audio data routed to the Serial Audio Interface port is unaffected by the word length settings; all 24 bits are passed on as received. The CS42526 also contains sufficient RAM to store a full block of C data for both A and B channels (192 x 2 = 384 bits), and also 384 bits of User (U data) information. The user may read from these buffer RAMs through the control port. The buffering scheme involves 2 block-sized buffers, named D and E, as shown in Figure 26. The MSB of each byte represents the first bit in the serial C data stream. For example, the MSB of byte 0 (which is at control port address 4Ah) is the consumer/professional bit for channel status block A. The first buffer (D) accepts incoming C data from the S/PDIF receiver. The 2nd buffer (E) accepts entire blocks of data from the D buffer. The E buffer is also accessible from the control port, allowing reading of the C data.
76
DS585PP5
CS42526
A 8-bits B 8-bits
D
From S/PDIF Receiver Received Data Buffer
E
24 words
Control Port
Figure 26. Channel Status Data Buffer Structure
11.2.1
Channel Status Data E Buffer Access
The user can monitor the incoming Channel Status data by reading the E buffer, which is mapped into the register space of the CS42526, through the control port Data Buffer. The Data Buffer must first be configured to point to the address space of the C data. This is accomplished by setting the BSEL bit to `0' in the register "Channel Status Data Buffer Control (address 24h)" on page 65. The user can configure the Interrupt Mask Register to cause an interrupt whenever any data bit changes are detected when D to E Channel Status buffer transfers occur. If no data bits have changed within the current transfer of data from D to E, then no interrupt will be generated. This allows determination of the acceptable time periods to interact with the E buffer. See "Interrupt Mask (address 21h)" on page 64 for more details. The E buffer is organized as 24 x 16-bit words. For each word the MS Byte is the A channel data, and the LS Byte is the B channel data (see Figure 26). There are two methods of accessing this memory, known as one byte mode and two byte mode. The desired mode is selected by setting the CAM bit in the Channel Status Data Buffer Control Register.
11.2.1a
One Byte mode
In many applications, the channel status blocks for the A and B channels will be identical. In this situation, the user may read a byte from one of the channel's blocks since the corresponding byte for the other channel will likely be the same. One byte mode takes advantage of the often identical nature of A and B channel status data. When reading data in one byte mode, a single byte is returned, which can be from channel A or B data, depending on a register control bit. One byte mode saves the user substantial control port access time, as it effectively accesses 2 bytes worth of information in 1 byte's worth of access time. If the control port's autoincrement addressing is used in combination with this mode, multi-byte accesses such as full-block reads can be done especially efficiently.
11.2.1b
Two Byte mode
There are those applications in which the A and B channel status blocks will not be the same, and the user is interested in accessing both blocks. In these situations, two byte mode should be used to access the E buffer. In this mode, a read will cause the CS42526 to output two bytes from its control port. The first byte out will represent the A channel status data, and the second byte will represent the B channel status data.
DS585PP5
77
CS42526
11.2.2 Serial Copy Management System (SCMS)
The CS42526 allows read access to all the channel status bits. For consumer mode SCMS compliance, the host microcontroller needs to read and interpret the Category Code, Copy bit and L bit appropriately.
11.3
User (U) Data E Buffer Access
Entire blocks of U data are buffered using a cascade of 2 block-sized RAMs to perform the buffering as described in the Channel Status section. The user has access to the E buffer through the control port Data Buffer which is mapped into the register space of the CS42526. The Data Buffer must first be configured to point to the address space of the U data. This is accomplished by setting the BSEL bit to `1' in the register "Channel Status Data Buffer Control (address 24h)" on page 65. The user can configure the Interrupt Mask Register to cause an interrupt whenever any data bit changes are detected when D to E Channel Status buffer transfers occur. If no data bits have changed within the current transfer of data from D to E, then no interrupt will be generated. This allows determination of the acceptable time periods to interact with the E buffer. See "Interrupt Mask (address 21h)" on page 64 for more details. The U buffer access only operates in two byte mode, since there is no concept of A and B blocks for user data. The arrangement of the data is as follows: Bit15[A7]Bit14[B7]Bit13[A6]Bit12[B6]...Bit1[A0]Bit0[B0]. The arrangement of the data in each byte is as follows: MSB is the first received bit and is the first transmitted bit. The first byte read is the first byte received, and the first byte sent is the first byte transmitted. When two bytes are read from the E buffer, the bits are presented in the following arrangement: A[7]B[7]A[6]B[6]....A[0]B[0].
11.3.1
Non-Audio Auto-Detection
The CS42526 S/PDIF receiver can detect non-audio data originating from AC-3(R) or MPEG encoders. This is accomplished by looking for a 96-bit sync code, consisting of 0x0000, 0x0000, 0x0000, 0x0000, 0xF872, and 0x4E1F. When the sync code is detected, an internal AUTODETECT signal will be asserted. If no additional sync codes are detected within the next 4096 frames, AUTODETECT will be de-asserted until another sync code is detected. The AUDIO bit in the Receiver Channel Status register is the logical OR of AUTODETECT and the received channel status bit 1. If non-audio data is detected, the data will be processed exactly as if it were normal audio. It is up to the user to mute the outputs as required.
11.3.1a
Format Detection
The CS42526 can automatically detect various serial audio input formats. The Receiver Status register (08h) is used to indicate a detected format. The register will indicate if uncompressed PCM data, IEC61937 data, DTS-LD data, DTS-CD data, or digital silence was detected. Additionally, the IEC61937 Pc/Pd burst preambles are available in registers 09h-0Ch. See the register descriptions for more information.
78
DS585PP5
CS42526
12. APPENDIX C: PLL FILTER
The PLL has been designed to only use the preambles of the S/PDIF stream to provide lock update information to the PLL. This results in the PLL being immune to data dependent jitter effects because the S/PDIF preambles do not vary with the data. The PLL has the ability to lock onto a wide range of input sample rates with no external component changes. The nominal center sample rate is the sample rate that the PLL first locks onto upon application of an S/PDIF data stream.
INPUT
Phase Comparator and Charge Pump
VCO RFILT CRIP CFILT
RM CK
/N
Figure 27. PLL Block Diagram
DS585PP5
79
CS42526
12.1 External Filter Components
12.1.1 General
The PLL behavior is affected by the external filter component values in the Typical Connection Diagrams. Figure 5 show the recommended configuration of the two capacitors and one resistor that comprise the PLL filter. The external PLL component values listed in Table 21 have a high corner frequency jitter attenuation curve, take a short time to lock, and offer good output jitter performance. Lock times are worst case for an Fsi transition of 192 kHz.
RFILT (k) CFILT (F) CRIP (pF) 2.55 0.047 2200
Table 21. PLL External Component Values
It is important to treat the LPFILT pin as a low level analog input. It is suggested that the ground end of the PLL filter be returned directly to the AGND pin independently of the digital ground plane. It should be noted that, for backward compatibility with Revision C, these components may be used with Revision D silicon with the LOCKM (register 24h, bit 6) set to `0'.
12.1.2 Jitter Attenuation
Shown in Figure 28 is the jitter attenuation plot when used with the external PLL component values listed in Table 21 for the 32-192 kHz Fs Range. The AES3 and IEC60958-4 specifications do not have allowances for locking to sample rates less than 32 kHz or for locking to the SAI_LRCK input. These specifications state a maximum of 2 dB jitter gain or peaking.
Figure 28. Jitter Attenuation Characteristics of PLL
80
DS585PP5
CS42526
12.1.3 Capacitor Selection
The type of capacitors used for the PLL filter can have a significant effect on receiver performance. Large or exotic film capacitors are not necessary as their leads and the required longer circuit board traces add undesirable inductance to the circuit. Surface mount ceramic capacitors are a good choice because their own inductance is low, and they can be mounted close to the LPFLT pin to minimize trace inductance. For CRIP, a C0G or NPO dielectric is recommended; and for CFILT, an X7R dielectric is preferred. Avoid capacitors with large temperature co-coefficient, or capacitors with high dielectric constants, that are sensitive to shock and vibration. These include the Z5U and Y5V dielectrics.
12.1.4 Circuit Board Layout
Board layout and capacitor choice affect each other and determine the performance of the PLL. Figure 29 illustrates a suggested layout for the PLL filter components and for bypassing the analog supply voltage. The 10 F bypass capacitor is an electrolytic in a surface mount case A or thru-hole package. RFILT, CFILT, CRIP, and the 0.1 F decoupling capacitor are in an 0805 form factor. The 0.01 F decoupling capacitor is in the 0603 form factor. The traces are on the top surface of the board with the IC so that there is no via inductance. The traces themselves are short to minimize the inductance in the filter path. The VARX and AGND traces extend back to their origin and are shown only in truncated form in the drawing.
LPFLT AGND VARX
0.01 F
CRIP RFILT
0.1 F
CFILT
10 F
= via to ground plane
Figure 29. Recommended Layout Example
DS585PP5
81
CS42526
13. APPENDIX D: EXTERNAL AES3/SPDIF/IEC60958 RECEIVER COMPONENTS 13.1 AES3 Receiver External Components
The CS42526 AES3 receiver is designed to accept only consumer-standard interfaces. The standards call for an unbalanced circuit having a receiver impedance of 75 5%. The connector is an RCA phono socket. The receiver circuit is shown in Figure 30. Figure 31 shows an implementation of the Input S/PDIF Multiplexer using the consumer interface. In the configuration of systems, it is important to avoid ground loops and DC current flowing down the shield of the cable that could result when boxes with different ground potentials are connected. Generally, it is good practice to ground the shield to the chassis of the transmitting unit, and connect the shield through a capacitor to chassis ground at the receiver. However, in some cases it is advantageous to have the ground of two boxes held at the same potential, and make the electrical connection through the cable shield. Generally, it may be a good idea to provide the option of grounding or capacitively coupling the shield to the chassis. When more than one RXP pin is driven simultaneously, as shown in Figure 31, there is a potential for crosstalk between inputs. To minimize this crosstalk, provide as much trace separation as is reasonable and choose non-adjacent inputs when possible. The circuit shown in Figure 32 may be used when external RS422 receivers, optical receivers or other TTL/CMOS logic outputs drive the CS42526 receiver input.
.01F
0.01 F RXP0 75 Coax 75
RCA Phono
75 Coax 75 Coax 75 Coax
75 .01F
RXP7
RXP6 75 .01F 75
. . .
RXP0
Figure 30. Consumer Input Circuit
Figure 31. S/PDIF MUX Input Circuit
TTL/C M O S G ate
0.01 F R X P0
Figure 32. TTL/CMOS Input Circuit
82
DS585PP5
CS42526
14. APPENDIX E: ADC FILTER PLOTS
0 -10 -20 -30 -40 -50 Amplitude (dB)
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
0 -10 -20 -30 -40 -50 Amplitude (dB) -60 -70 -80 -90 -100 -110 -120 -130 -140 Frequency (normalized to Fs)
-60 -70 -80 -90 -100 -110 -120 -130 -140 0.40
0.42
0.44
0.46
0.48
0.50
0.52
0.54
0.56
0.58
0.60
Frequency (normalized to Fs)
Figure 33. Single Speed Mode Stopband Rejection
Figure 34. Single Speed Mode Transition Band
0
0.10
-1
0.08
-2
0.05
-3
Amplitude (dB)
-5
Amplitude (dB)
0.46 0.47 0.48 0.49 0.50 0.51 0.52 0.53 0.54 0.55
-4
0.03
0.00
-6
-0.03
-7
-0.05
-8
-9
-0.08
-10 0.45
Frequency (normalized to Fs)
-0.10 0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
Frequency (normalized to Fs)
Figure 35. Single Speed Mode Transition Band (Detail)
Figure 36. Single Speed Mode Passband Ripple
0 -10 -20 -30 -40 -50 Amplitude (dB)
0 -10 -20 -30 -40 -50 Amplitude (dB) -60 -70 -80 -90 -100 -110 -120 -130 -140 0.40
-60 -70 -80 -90 -100 -110 -120 -130 -140 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 Frequency (normalized to Fs)
0.43
0.45
0.48
0.50
0.53
0.55
0.58
0.60
0.63
0.65
0.68
0.70
Frequency (normalized to Fs)
Figure 37. Double Speed Mode Stopband Rejection
Figure 38. Double Speed Mode Transition Band
DS585PP5
83
CS42526
`
0
0.10
-1
0.08
-2
0.05
-3
Amplitude (dB)
-5
Amplitude (dB)
0.43 0.45 0.48 Frequency (normalized to Fs) 0.50 0.53 0.55
-4
0.03
0.00
-6
-0.03
-7
-0.05
-8
-9
-0.08
-10 0.40
-0.10 0.00
0.05
0.10
0.15
0.20
0.25
0.30
0.35
0.40
0.45
0.50
Frequency (normalized to Fs)
Figure 39. Double Speed Mode Transition Band (Detail)
Figure 40. Double Speed Mode Passband Ripple
0 -10 -20 -30 -40 Amplitude (dB) -50 -60 -70 -80
Amplitude (dB)
0 -10 -20 -30 -40 -50 -60 -70 -80 -90
-90 -100 -110 -120 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 Frequency (normalized to Fs)
-100 -110 -120 -130 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 Frequency (normalized to Fs)
Figure 41. Quad Speed Mode Stopband Rejection
Figure 42. Quad Speed Mode Transition Band
0
0.10
-1
0.08
-2
0.06
-3
0.04
Amplitude (dB)
-5
Amplitude (dB)
0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6
-4
0.02
0.00
-6
-0.02
-7
-0.04
-8
-0.06
-9
-0.08
-10 Frequency (normalized to Fs)
-0.10 0.00
0.05
0.10
0.15
0.20
0.25
Frequency (normalized to Fs)
Figure 43. Quad Speed Mode Transition Band (Detail)
Figure 44. Quad Speed Mode Passband Ripple
84
DS585PP5
CS42526
15. APPENDIX F: DAC FILTER PLOTS
0
0
20
20
Amplitude (dB)
Amplitude (dB)
40
40
60
60
80
80
100
100
120
120
0.4
0.5
0.6 0.7 0.8 Frequency(normalized to Fs)
0.9
1
0.4
0.42
0.44
0.46
0.48 0.5 0.52 Frequency(normalized to Fs)
0.54
0.56
0.58
0.6
Figure 45. Single Speed (fast) Stopband Rejection
0
Figure 46. Single Speed (fast) Transition Band
0.02
1
0.015
2
0.01
3
0.005 Amplitude (dB)
Amplitude (dB)
4
5
0
6
0.005
7
0.01
8
0.015
9
10 0.45
0.46
0.47
0.48
0.49 0.5 0.51 Frequency(normalized to Fs)
0.52
0.53
0.54
0.55
0.02
0
0.05
0.1
0.15
0.2 0.25 0.3 Frequency(normalized to Fs)
0.35
0.4
0.45
0.5
Figure 47. Single Speed (fast) Transition Band (detail)
0
Figure 48. Single Speed (fast) Passband Ripple
0
20
20
Amplitude (dB)
40
60
Amplitude (dB)
0.4 0.5 0.6 0.7 0.8 Frequency(normalized to Fs) 0.9 1
40
60
80
80
100
100
120
120
0.4
0.42
0.44
0.46
0.48 0.5 0.52 Frequency(normalized to Fs)
0.54
0.56
0.58
0.6
Figure 49. Single Speed (slow) Stopband Rejection
Figure 50. Single Speed (slow) Transition Band
DS585PP5
85
CS42526
0
0.02
1
0.015
2
0.01
3
0.005
Amplitude (dB)
Amplitude (dB)
4
5
0
6
0.005
7
0.01
8
0.015
9
10 0.45
0.02
0.46 0.47 0.48 0.49 0.5 0.51 Frequency(normalized to Fs) 0.52 0.53 0.54 0.55
0
0.05
0.1
0.15
0.2 0.25 0.3 Frequency(normalized to Fs)
0.35
0.4
0.45
0.5
Figure 51. Single Speed (slow) Transition Band (detail)
0
Figure 52. Single Speed (slow) Passband Ripple
0
20
20
Amplitude (dB)
Amplitude (dB)
40
40
60
60
80
80
100
100
120
120
0.4
0.5
0.6 0.7 0.8 Frequency(normalized to Fs)
0.9
1
0.4
0.42
0.44
0.46
0.48 0.5 0.52 Frequency(normalized to Fs)
0.54
0.56
0.58
0.6
Figure 53. Double Speed (fast) Stopband Rejection
0
Figure 54. Double Speed (fast) Transition Band
0.02
1
0.015
2
0.01
3
Amplitude (dB)
5
Amplitude (dB)
4
0.005
0
6
0.005
7
0.01
8
9
0.015
10 0.45
0.46
0.47
0.48
0.49 0.5 0.51 Frequency(normalized to Fs)
0.52
0.53
0.54
0.55
0.02
0
0.05
0.1
0.15
0.2 0.25 0.3 Frequency(normalized to Fs)
0.35
0.4
0.45
0.5
Figure 55. Double Speed (fast) Transition Band (detail)
Figure 56. Double Speed (fast) Passband Ripple
86
DS585PP5
CS42526
0
0
20
20
Amplitude (dB)
Amplitude (dB)
40
40
60
60
80
80
100
100
120
120
0.2
0.3
0.4
0.5 0.6 0.7 Frequency(normalized to Fs)
0.8
0.9
1
0.2
0.3
0.4 0.5 0.6 Frequency(normalized to Fs)
0.7
0.8
Figure 57. Double Speed (slow) Stopband Rejection
0
Figure 58. Double Speed (slow) Transition Band
0.02
1
0.015
2
0.01
3
0.005 Amplitude (dB)
Amplitude (dB)
4
5
0
6
0.005
7
0.01
8
0.015
9
10 0.45
0.46
0.47
0.48
0.49 0.5 0.51 Frequency(normalized to Fs)
0.52
0.53
0.54
0.55
0.02
0
0.05
0.1
0.15 0.2 Frequency(normalized to Fs)
0.25
0.3
0.35
Figure 59. Double Speed (slow) Transition Band (detail)
0
Figure 60. Double Speed (slow) Passband Ripple
0
20
20
40 Amplitude (dB)
Amplitude (dB)
40
60
60
80
80
100
100
120
120
0.2
0.3
0.4
0.5 0.6 0.7 Frequency(normalized to Fs)
0.8
0.9
1
0.2
0.3
0.4 0.5 0.6 Frequency(normalized to Fs)
0.7
0.8
Figure 61. Quad Speed (fast) Stopband Rejection
Figure 62. Quad Speed (fast) Transition Band
DS585PP5
87
CS42526
0
0.2
1
0.15
2
0.1
3
0.05
Amplitude (dB)
Amplitude (dB) 0.05 0.1 0.15 0.2
4
5
0
6
7
8
9
10 0.45
0.46
0.47
0.48
0.49 0.5 0.51 Frequency(normalized to Fs)
0.52
0.53
0.54
0.55
0
0.05
0.1 0.15 Frequency(normalized to Fs)
0.2
0.25
Figure 63. Quad Speed (fast) Transition Band (detail)
Figure 64. Quad Speed (fast) Passband Ripple
0
0
20
20
Amplitude (dB)
Amplitude (dB)
40
40
60
60
80
80
100
100
120
120
0.1
0.2
0.3
0.4 0.5 0.6 0.7 Frequency(normalized to Fs)
0.8
0.9
1
0.1
0.2
0.3
0.4 0.5 0.6 Frequency(normalized to Fs)
0.7
0.8
0.9
Figure 65. Quad Speed (slow) Stopband Rejection
Figure 66. Quad Speed (slow) Transition Band
0
0.02
1
0.015
2
0.01
3
0.005 Amplitude (dB)
Amplitude (dB)
4
5
0
6
0.005
7
0.01
8
0.015
9
10 0.45
0.46
0.47
0.48
0.49 0.5 0.51 Frequency(normalized to Fs)
0.52
0.53
0.54
0.55
0.02
0
0.02
0.04 0.06 0.08 Frequency(normalized to Fs)
0.1
0.12
Figure 67. Quad Speed (slow) Transition Band (detail)
Figure 68. Quad Speed (slow) Passband Ripple
88
DS585PP5
CS42526
Table 22. Revision History
Release A1 PP1 PP2 PP3 PP4 PP5
Date December 2002 August 2003 August 2003 March 2004 July 2004 January 2005
Changes Advance Release Preliminary Release - Added Revision History table. - Updated registers 6.7.4 and 6.7.5 on page 53. Corrected error in document title. Add lead free part numbers - Updated PLL components in Table 21 on page 80. - Added PDN_RCVR1 bit and description on page 47. - Added LOCKM bit and description on page 65.
- Added OMCK Frequency specification in the Switching Characteristics table on
page 12.
- Updated ADC Input Impedance and Offset Error specifications in the Analog
Input Characteristics table on page 8.
- Updated the DAC Full Scale Voltage, Output Impedance, and Gain Drift
specifications in the Analog Output Characteristics table on page 10.
- Updated specification conditions for the analog input characteristics on page 8. - Updated specification conditions for the analog output characteristics on
page 10.
- Updated specification of tds and tdh in the Switching Characteristics table on
page 12.
- Corrected reference to the SW_CTRL[1:0] bits in section 4.5.3 on page 26. - Moved the VQ and FILT+ specifications from the Analog Input Characteristics
table on page 8 to the DC Electrical Characteristics table on page 15. - Updated the Power Supply Current and Power Consumption specifications in the DC Electrical Characteristics table on page 15. - Updated the description of the CONF bit on page page 67. - Updated Table 13 on page 54 to include HDCD format detection. - Corrected default value of the Chip_ID[3:0] bits in register 01h on pages 42 and 46. - Updated default value of the Rev_ID[3:0] bits in register 01h on pages 42 and 46.
DS585PP5
89
CS42526
Contacting Cirrus Logic Support
For all product questions and inquiries contact a Cirrus Logic Sales Representative. To find one nearest you go to http://www.cirrus.com/
IMPORTANT NOTICE "Preliminary" product information describes products that are in production, but for which full characterization data is not yet available. Cirrus Logic, Inc. and its subsidiaries ("Cirrus") believe that the information contained in this document is accurate and reliable. However, the information is subject to change without notice and is provided "AS IS" without warranty of any kind (express or implied). Customers are advised to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, indemnification, and limitation of liability. No responsibility is assumed by Cirrus for the use of this information, including use of this information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties. This document is the property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights, copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits or other products of Cirrus. This consent does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale. CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ("CRITICAL APPLICATIONS"). CIRRUS PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN AIRCRAFT SYSTEMS, MILITARY APPLICATIONS, PRODUCTS SURGICALLY IMPLANTED INTO THE BODY, AUTOMOTIVE SAFETY OR SECURITY DEVICES, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF CIRRUS PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER'S RISK AND CIRRUS DISCLAIMS AND MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE CUSTOMER OR CUSTOMER'S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS, CUSTOMER AGREES, BY SUCH USE, TO FULLY INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND OTHER AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS' FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN CONNECTION WITH THESE USES. Cirrus Logic, Cirrus, and the Cirrus Logic logo designs are trademarks of Cirrus Logic, Inc. All other brand and product names in this document may be trademarks or service marks of their respective owners. AC-3 is a registered trademark of Dolby Laboratories, Inc. DTS is a registered trademark of the Digital Theater Systems, Inc. SPI is a trademark of Motorola, Inc.
90
DS585PP5


▲Up To Search▲   

 
Price & Availability of CS42526-DQZ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X